3 ms·
What are the plans regarding multithread / multiprocess support? On the face of it, multiprocess support might seem a bit stupid, but it would greatly help the
by joosters 6y ago
What are the plans regarding multithread / multiprocess support?
On the face of it, multiprocess support might seem a bit stupid, but it would greatly help the porting of more complex applications. The 'processes' wouldn't need virtual address space or memory protection, just give them a block of memory and pick a CPU to run the code.
If you have multithreading, do you need any scheduling code, or can you just pick a CPU for each thread and leave them to run? What about the kernel's own threads & processes?
- rwmj 6y agoI don't know where things will go in the future, but now: Multiprocess no. fork() will fail. Pthreads works already.
- arbarb 6y agoUKL is multi threaded, not multi process because there is no fork. Plus it's a Unikernel i.e., just one process. You don't need any scheduling code, Linux does it like it does normally for kernel and user threads.
- finnthehuman 6y ago>You don't need any scheduling code, Linux does it like it does normally for kernel and user threads. That's interesting, how does Linux implement it's kernel threads without any scheduling code?