1 2#include <BeOSBuildCompatibility.h> 3 4#include <OS.h> 5 6static const thread_id kMainThreadID = 3; 7 8 9// kill_thread 10status_t 11kill_thread(thread_id thread) 12{ 13 return B_BAD_VALUE; 14} 15 16// resume_thread 17status_t 18resume_thread(thread_id thread) 19{ 20 return B_BAD_VALUE; 21} 22 23// suspend_thread 24status_t 25suspend_thread(thread_id thread) 26{ 27 return B_BAD_VALUE; 28} 29 30// find_thread 31thread_id 32find_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 41status_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