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/pipe.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/init/tests/pipe.c') diff --git a/src/init/tests/pipe.c b/src/init/tests/pipe.c index a980cb8..8e9d243 100644 --- a/src/init/tests/pipe.c +++ b/src/init/tests/pipe.c @@ -113,6 +113,4 @@ void test_pipe(void) { // not a to.do detect when all processes that can read are stuck on writing to the pipe and vice versa // it seems like linux just lets the process hang endlessly. - - // TODO kill process that's waiting on a pipe } -- cgit v1.2.3