Age | Commit message (Collapse) | Author |
|
proper multiprocess support!
|
|
first off: this is horrible. there's no CoW, so this is horribly slow.
the sole purpose of this is to let the userland delegate handle multiple
requests at once, because i'm implementing concurrent IO and I kinda
need that.
it's possible that handling of multiple requests could be handled in a
better way - but this could be good enough once i implement CoW
|
|
|
|
i was disabling it while working anyways, i'll only turn it back on once
there's support for multiple processes waiting for an irq
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
my thoughts on this are already in that giant comment, go read it
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
just copied straight over from the kernel's util.c
|
|
|
|
before this, you could open("/init/1") to open /init/1.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|