Created
May 9, 2016 23:17
-
-
Save sniper7kills/3b33656717c7f1e7914e10fc890dc193 to your computer and use it in GitHub Desktop.
cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pid t pid; | |
pid = fork(); | |
if (pid == 0) { | |
/* child process */ | |
fork(); | |
thread create( . . .); | |
} | |
fork(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment