Is there any Data sharing mechanism in Linux kernel? -
is there data sharing mechanism exists in linux kernel? there need that? there ipc inside kernel?
there lots of them: pipes, unix sockets, sysv message queues, posix message queues, shared memory, etc...
shared memory fastest. pipes work in 1 direction, unix sockets in both. unix sockets work normal ip sockets, use udp or tcp. message queues, write queue , retrieve data later, or in other process.
Comments
Post a Comment