1 /*
2     Copyright (c) 2005-2020 Intel Corporation
3 
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7 
8         http://www.apache.org/licenses/LICENSE-2.0
9 
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15 */
16 
17 #include "tbb/tbb_thread.h"
18 #define THREAD tbb::tbb_thread
19 #define THIS_THREAD tbb::this_tbb_thread
20 #define THIS_THREAD_SLEEP THIS_THREAD::sleep
21 #include "test_thread.h"
22 #include "harness.h"
23 
24 /* we want to test tbb::tbb_thread */
TestMain()25 int TestMain () {
26     CheckSignatures();
27     RunTests();
28     return Harness::Done;
29 }
30