about summary refs log tree commit diff
path: root/src/exit/quick_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit/quick_exit.c')
-rw-r--r--src/exit/quick_exit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/exit/quick_exit.c b/src/exit/quick_exit.c
index 1175d80c..ada91348 100644
--- a/src/exit/quick_exit.c
+++ b/src/exit/quick_exit.c
@@ -1,6 +1,4 @@
 #include <stdlib.h>
-#include "syscall.h"
-#include "atomic.h"
 #include "libc.h"
 
 static void dummy() { }
@@ -8,8 +6,6 @@ weak_alias(dummy, __funcs_on_quick_exit);
 
 _Noreturn void quick_exit(int code)
 {
-	static int lock;
-	while (a_swap(&lock, 1)) __syscall(SYS_pause);
 	__funcs_on_quick_exit();
 	_Exit(code);
 }