Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [pid:13752] This is TTT main program
- [pid:13754] This is TTT mgr program, ppid[13752]
- [pid:13754] shared memory created, ppid[13752]
- [pid:13752] The tttmgr [mgr_pid: 13754] is ready, Creating the players
- [pid:13755] This is TTT player program(1), ppid[610]
- READY
- [pid:13756] This is TTT player program(2), ppid[610]
- READY
- the line in the player program that outputs
- printf("[pid:%d] %s(%s), ppid[%d] \n", getpid(), m, processName, getppid());
- where m is the string i pass it and process name is taken from argv[0]
Add Comment
Please, Sign In to add comment