xref: /haiku/src/build/libroot/thread.cpp (revision 37d96a4c637d81f25dec869941892f8f8c5e4d42)
1 
2 #include <BeOSBuildCompatibility.h>
3 
4 #include <OS.h>
5 
6 static const thread_id kMainThreadID = 3;
7 
8 // find_thread
9 thread_id
10 find_thread(const char *name)
11 {
12 	if (name != NULL)
13 		return B_ENTRY_NOT_FOUND;
14 
15 	return kMainThreadID;
16 }
17 
18 // _get_thread_info
19 // status_t
20 // _get_thread_info(thread_id id, thread_info *info, size_t size)
21 // {
22 // 	return B_ERROR;
23 // }
24 
25 // _get_next_thread_info
26 // status_t
27 // _get_next_thread_info(team_id team, int32 *cookie, thread_info *info,
28 // 	size_t size)
29 // {
30 // 	return B_ERROR;
31 // }
32