IPC Codebeispiele

Ergänzend zum Betriebssysteme Tutorial einige interessante Beispiele zur Interprozesskommunkation.


Unix - Named Pipe Example

	
Warning: file_get_contents(downloads/source/pipes/pipe.cc) [function.file-get-contents]: failed to open stream: No such file or directory in /kunden/262736_09126/xardo/bs_codes.php on line 12
Source Code: pipe creator process
	
Warning: file_get_contents(downloads/source/pipes/receiver.cc) [function.file-get-contents]: failed to open stream: No such file or directory in /kunden/262736_09126/xardo/bs_codes.php on line 12
Source Code: Pipe Receiver

Unix - Shared Memory Communication Example

	
Warning: file_get_contents(downloads/source/sharedmem/process1.cc) [function.file-get-contents]: failed to open stream: No such file or directory in /kunden/262736_09126/xardo/bs_codes.php on line 12
Source Code: Process A
	
Warning: file_get_contents(downloads/source/sharedmem/process2.cc) [function.file-get-contents]: failed to open stream: No such file or directory in /kunden/262736_09126/xardo/bs_codes.php on line 12
Source Code: Process B

Unix - Semaphore Synchronisation Example

	
Warning: file_get_contents(downloads/source/semaphor/process1.cc) [function.file-get-contents]: failed to open stream: No such file or directory in /kunden/262736_09126/xardo/bs_codes.php on line 12
Source Code: Process A
	
Warning: file_get_contents(downloads/source/semaphor/process2.cc) [function.file-get-contents]: failed to open stream: No such file or directory in /kunden/262736_09126/xardo/bs_codes.php on line 12
Source Code: Process B

Unix - Message Queue "sender-receiver" Example

	
Warning: file_get_contents(downloads/source/msg_queue/sender.cc) [function.file-get-contents]: failed to open stream: No such file or directory in /kunden/262736_09126/xardo/bs_codes.php on line 12
Source Code: Message Sender Process
	
Warning: file_get_contents(downloads/source/msg_queue/receiver.cc) [function.file-get-contents]: failed to open stream: No such file or directory in /kunden/262736_09126/xardo/bs_codes.php on line 12
Source Code: Message Receiver Process