HaikuDepot: notify work status from main window
[haiku.git] / src / tools / fs_shell / thread.cpp
blobbbf424f08222c2d419d889c2011afe137c6e2e09
1 /*
2 * Copyright 2007, Ingo Weinhold, bonefish@cs.tu-berlin.de.
3 * Distributed under the terms of the MIT License.
4 */
6 #include "compatibility.h"
8 #include "fssh_os.h"
10 #include <OS.h>
12 #include "fssh_errors.h"
15 fssh_status_t
16 fssh_kill_thread(fssh_thread_id thread)
18 return kill_thread(thread);
22 fssh_status_t
23 fssh_resume_thread(fssh_thread_id thread)
25 return resume_thread(thread);
29 fssh_status_t
30 fssh_suspend_thread(fssh_thread_id thread)
32 return suspend_thread(thread);
36 fssh_thread_id
37 fssh_find_thread(const char *name)
39 return find_thread(name);
43 fssh_status_t
44 fssh_snooze(fssh_bigtime_t amount)
46 return snooze(amount);
50 fssh_status_t
51 fssh_snooze_until(fssh_bigtime_t time, int timeBase)
53 return snooze_until(time, timeBase);