Projects Publications Resume Contact About Youtube |
|
[ghildstrom@hplt ipc_sysv_posix]$ ./sysv_shared_memory_private parent pid is 2164 and child pid is 2165 child pid is 2165 child wrote to shared memory buffer: hello from child parent read from shared memory buffer: hello from child
listing | System V | POSIX |
---|---|---|
parent source |
[an error occurred while processing this directive] | [an error occurred while processing this directive] |
child source |
[an error occurred while processing this directive] | [an error occurred while processing this directive] |
output |
[ghildstrom@hplt ipc_sysv_posix]$ ./sysv_shared_memory_file_parent parent pid is 2435 and child pid is 2436 child pid is 2436 execve'd child pid is 2436 execve'd child wrote to shared memory buffer: hello from execve'd child parent read from shared memory buffer: hello from execve'd child |
[ghildstrom@hplt ipc_sysv_posix]$ ./posix_shared_memory_parent parent pid is 2476 and child pid is 2477 child pid is 2477 execve'd child pid is 2477 execve'd child wrote to shared memory buffer: hello from execve'd child parent read from shared memory buffer: hello from execve'd child |
listing | System V | POSIX |
---|---|---|
parent source |
[an error occurred while processing this directive] | [an error occurred while processing this directive] |
child source |
[an error occurred while processing this directive] | [an error occurred while processing this directive] |
output |
[ghildstrom@hplt ipc_sysv_posix]$ ./sysv_semaphore_file_parent parent pid is 2899 and child pid is 2900 child pid is 2900 execve'd child pid is 2900 execve'd child waiting for semaphore zero value parent delay parent about to decrement semaphore back to zero execve'd child detected semaphore zero value |
[ghildstrom@hplt ipc_sysv_posix]$ ./posix_semaphore_parent parent pid is 2925 and child pid is 2926 child pid is 2926 execve'd child pid is 2926 execve'd child waiting for semaphore non-zero value parent delay parent about to increment semaphore to non-zero execve'd child detected semaphore non-zero value |
listing | System V | POSIX |
---|---|---|
parent source |
[an error occurred while processing this directive] | [an error occurred while processing this directive] |
child source |
[an error occurred while processing this directive] | [an error occurred while processing this directive] |
output |
[ghildstrom@hplt ipc_sysv_posix]$ ./sysv_message_queue_file_parent parent pid is 2965 and child pid is 2966 child pid is 2966 execve'd child pid is 2966 execve'd child waiting for message parent delay parent about to send message execve'd child received message type 1234 |
[ghildstrom@hplt ipc_sysv_posix]$ ./posix_message_queue_parent parent pid is 2992 and child pid is 2993 child pid is 2993 execve'd child pid is 2993 execve'd child waiting for message parent delay parent about to send message execve'd child received message 1234 |