HenryCase wrote:
itix wrote:
Again everything which is passed between applications and kernel must be public memory. Using private memory in Amiga is useless because such memory can not be passed to kernel calls because you dont know what kernel does with it. You can not trust that library calls can handle private memory.
So in an MP protected OS like, for example, FreeBSD, how do instructions/data get passed between applications and kernel?
There are a ton of ways to do this.
Signals
Shared memory segments
IPC
TCP
With the exception of the SYS V shared memory segment thing, which is hardly ever used in my experience, all the intra process data sharing consists of passing messages from the process through the kernel and to the other process.