summaryrefslogtreecommitdiff
path: root/src/init/tests/pipe.c
diff options
context:
space:
mode:
authordzwdz2022-07-10 11:38:53 +0200
committerdzwdz2022-07-10 11:38:53 +0200
commit45c5bf044a063a289fad6a53b8d27ce675d9c272 (patch)
treed3e4f2f59d2bbf825ad4bf81b821934a27835ffa /src/init/tests/pipe.c
parentf6039ca691352bce5d050a4e5ffa768fadbaf68c (diff)
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.
Diffstat (limited to 'src/init/tests/pipe.c')
-rw-r--r--src/init/tests/pipe.c2
1 files changed, 0 insertions, 2 deletions
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
}