From 45c5bf044a063a289fad6a53b8d27ce675d9c272 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 10 Jul 2022 11:38:53 +0200 Subject: init/lib: implement "evil semaphores" I started implementing native semaphores in the kernel, but then I've realized that I can implement them in userland using pipes. Thus, this hot garbage was born. --- src/init/tests/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/init/tests/main.c') diff --git a/src/init/tests/main.c b/src/init/tests/main.c index f0845fe..9adb50c 100644 --- a/src/init/tests/main.c +++ b/src/init/tests/main.c @@ -146,5 +146,6 @@ void test_all(void) { run_forked(test_memflag); run_forked(test_malloc); run_forked(test_pipe); + run_forked(test_semaphore); run_forked(test_misc); } -- cgit v1.2.3