PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : KERNEL:linux/ipc/*.*


23.02.01, 19:59
hi group,

leider konnte ich in keiner dokumentation
etwas zu folgendem Verzeichniss finden.
linux/ipc/*.*
Es interesiert mich aber brennend:

1. Für was wird diese Verzeichnis benoetigt?
bzw. welche Funktionalität wird erfüllt?

gruß r.

23.02.01, 20:45
IPC steht fuer "Inter Process Communication".
Es dient also dem Datenaustausch zwischen verschiedenen Prozessen.

Es werden hier "shared memory", also Speicherbereiche auf die mehrere Prozesse zureifen koennen, "semaphores/ Semaphoren" zur Synchronisation von Prozessen, und "message queues" zum Verschicken von Nachrichten zwischen den Prozessen angeboten.

man ipc
sollte mehr infos bringen.

Auszug aus der Kernelconfigurationshilfe:
CONFIG_SYSVIPC:

Inter Process Communication is a suite of library functions and
system calls which let processes (running programs) synchronize
and exchange information. It is generally considered to be a good
thing, and some programs won't run unless you say Y here. In
particular, if you want to run the DOS emulator dosemu under Linux
(read the DOSEMU-HOWTO, available via FTP (user: anonymous) in
ftp://metalab.unc.edu/pub/Linux/docs/HOWTO), you'll need to say Y
here.

You can find documentation about IPC with "info ipc" and also in
section 6.4 of the Linux Programmer's Guide, available via FTP
(user: anonymous) from
ftp://metalab.unc.edu/pub/Linux/docs/LDP/programmers-guide.

Saying Y here enlarges your kernel by about 7 KB. Just say Y.