mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 03:45:24 +00:00
nova: remove nova_die from lock_helper.h
This commit is contained in:
parent
e40f86036a
commit
d7edb5bef7
@ -27,7 +27,6 @@
|
||||
|
||||
/* NOVA includes */
|
||||
#include <nova/syscalls.h>
|
||||
#include <nova/util.h>
|
||||
|
||||
|
||||
extern int main_thread_running_semaphore();
|
||||
@ -58,8 +57,7 @@ static inline void thread_stop_myself(Genode::Thread *myself)
|
||||
else
|
||||
sem = main_thread_running_semaphore();
|
||||
|
||||
if (sm_ctrl(sem, SEMAPHORE_DOWNZERO))
|
||||
nova_die();
|
||||
sm_ctrl(sem, SEMAPHORE_DOWNZERO);
|
||||
}
|
||||
|
||||
#endif /* _INCLUDE__BASE__INTERNAL__LOCK_HELPER_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user