Skip to content

Commit

Permalink
nova: remove nova_die from lock_helper.h
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ab authored and nfeske committed Feb 5, 2025
1 parent ea3ab61 commit cd97294
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions repos/base-nova/src/include/base/internal/lock_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

/* NOVA includes */
#include <nova/syscalls.h>
#include <nova/util.h>


extern int main_thread_running_semaphore();
Expand Down Expand Up @@ -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_ */

0 comments on commit cd97294

Please sign in to comment.