kernel & libroot: Drop wait_for_thread syscall in favor of wait_for_thread_etc.
We don't have many etc and non-etc syscall pairs in this file (the semaphores seem to be a notable exception), so drop wait_for_thread and just call wait_for_thread_etc instead. This breaks syscall ABI, but we've already broken it since beta5 anyway.
This commit is contained in:
@@ -173,8 +173,6 @@ extern void _kern_exit_thread(status_t returnValue);
|
||||
extern status_t _kern_cancel_thread(thread_id threadID,
|
||||
void (*cancelFunction)(int));
|
||||
extern void _kern_thread_yield(void);
|
||||
extern status_t _kern_wait_for_thread(thread_id thread,
|
||||
status_t *_returnCode);
|
||||
extern status_t _kern_wait_for_thread_etc(thread_id thread, uint32 flags,
|
||||
bigtime_t timeout, status_t *_returnCode);
|
||||
extern bool _kern_has_data(thread_id thread);
|
||||
|
||||
Reference in New Issue
Block a user