mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-06 01:11:46 +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 */
|
/* NOVA includes */
|
||||||
#include <nova/syscalls.h>
|
#include <nova/syscalls.h>
|
||||||
#include <nova/util.h>
|
|
||||||
|
|
||||||
|
|
||||||
extern int main_thread_running_semaphore();
|
extern int main_thread_running_semaphore();
|
||||||
@ -58,8 +57,7 @@ static inline void thread_stop_myself(Genode::Thread *myself)
|
|||||||
else
|
else
|
||||||
sem = main_thread_running_semaphore();
|
sem = main_thread_running_semaphore();
|
||||||
|
|
||||||
if (sm_ctrl(sem, SEMAPHORE_DOWNZERO))
|
sm_ctrl(sem, SEMAPHORE_DOWNZERO);
|
||||||
nova_die();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* _INCLUDE__BASE__INTERNAL__LOCK_HELPER_H_ */
|
#endif /* _INCLUDE__BASE__INTERNAL__LOCK_HELPER_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user