fat: Greatly simplify and clean up dosfs_get_file_map().
[haiku.git] / src / build / libroot / thread.cpp
blobb359027492710912d5750d871ea1731d033fe72c
2 #include <BeOSBuildCompatibility.h>
4 #include <OS.h>
6 static const thread_id kMainThreadID = 3;
9 // kill_thread
10 status_t
11 kill_thread(thread_id thread)
13 return B_BAD_VALUE;
16 // resume_thread
17 status_t
18 resume_thread(thread_id thread)
20 return B_BAD_VALUE;
23 // suspend_thread
24 status_t
25 suspend_thread(thread_id thread)
27 return B_BAD_VALUE;
30 // find_thread
31 thread_id
32 find_thread(const char *name)
34 if (name != NULL)
35 return B_ENTRY_NOT_FOUND;
37 return kMainThreadID;
40 // _get_thread_info
41 status_t
42 _get_thread_info(thread_id id, thread_info* info, size_t size)
44 return B_ERROR;
47 // _get_next_thread_info
48 // status_t
49 // _get_next_thread_info(team_id team, int32 *cookie, thread_info *info,
50 // size_t size)
51 // {
52 // return B_ERROR;
53 // }