1/* 2 * Copyright 2007, Ingo Weinhold, bonefish@cs.tu-berlin.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 6#include "compatibility.h" 7 8#include "fssh_os.h" 9 10#include <OS.h> 11 12#include "fssh_errors.h" 13 14 15fssh_status_t 16fssh_kill_thread(fssh_thread_id thread) 17{ 18 return kill_thread(thread); 19} 20 21 22fssh_status_t 23fssh_resume_thread(fssh_thread_id thread) 24{ 25 return resume_thread(thread); 26} 27 28 29fssh_status_t 30fssh_suspend_thread(fssh_thread_id thread) 31{ 32 return suspend_thread(thread); 33} 34 35 36fssh_thread_id 37fssh_find_thread(const char *name) 38{ 39 return find_thread(name); 40} 41 42 43fssh_status_t 44fssh_snooze(fssh_bigtime_t amount) 45{ 46 return snooze(amount); 47} 48 49 50fssh_status_t 51fssh_snooze_until(fssh_bigtime_t time, int timeBase) 52{ 53 return snooze_until(time, timeBase); 54} 55