Housekeeping changes and small bug-fixes:

Added new syscall for set_thread_priority().
Replaced the userland syscall snooze_until() with snooze_etc() (the latter
has to be exported to userland and realize snooze() and snooze_until()).
Cleaned the sources - scheduler functions now have the scheduler_ prefix.
Moved signal related stuff into ksignal.h (out of thread.h).
Replaced public kernel API with direct exports (i.e. resume_thread() instead
of thread_resume_thread()).
Removed the thread_create_XXX_thread*() calls, and replaced them with a
BeOS compatible set.
Made some fields of struct thread a bit prettier.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2569 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-01-27 02:54:21 +00:00
parent dc7fb22c07
commit a9731b41c1
5 changed files with 45 additions and 26 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ int sys_getrlimit(int resource, struct rlimit * rlp);
int sys_setrlimit(int resource, const struct rlimit * rlp);
bigtime_t sys_system_time();
status_t sys_snooze_until(bigtime_t time, int timebase);
status_t sys_snooze_etc(bigtime_t time, int timebase, int32 flags);
/* sem functions */
sem_id sys_create_sem(int count, const char *name);