diff options
author | dzwdz | 2022-07-10 11:38:53 +0200 |
---|---|---|
committer | dzwdz | 2022-07-10 11:38:53 +0200 |
commit | 45c5bf044a063a289fad6a53b8d27ce675d9c272 (patch) | |
tree | d3e4f2f59d2bbf825ad4bf81b821934a27835ffa /src/init/tests/pipe.c | |
parent | f6039ca691352bce5d050a4e5ffa768fadbaf68c (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.c | 2 |
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 } |