1 2 #include <BeOSBuildCompatibility.h> 3 4 #include <OS.h> 5 6 static const thread_id kMainThreadID = 3; 7 8 9 // kill_thread 10 status_t 11 kill_thread(thread_id thread) 12 { 13 return B_BAD_VALUE; 14 } 15 16 // resume_thread 17 status_t 18 resume_thread(thread_id thread) 19 { 20 return B_BAD_VALUE; 21 } 22 23 // suspend_thread 24 status_t 25 suspend_thread(thread_id thread) 26 { 27 return B_BAD_VALUE; 28 } 29 30 // find_thread 31 thread_id 32 find_thread(const char *name) 33 { 34 if (name != NULL) 35 return B_ENTRY_NOT_FOUND; 36 37 return kMainThreadID; 38 } 39 40 // _get_thread_info 41 status_t 42 _get_thread_info(thread_id id, thread_info* info, size_t size) 43 { 44 return B_ERROR; 45 } 46 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 // } 54