GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
3e0c6e04f41de64bdd0e628c18d6b51afacdca10
[mirrors/Programs.git]
/
c
/
fork
/
fork.c
1
#include <stdio.h>
2
#include <pthread.h>
3
4
int
main
() {
5
6
if
(!
pthread_create
())
while
(
1
) {
printf
(
"child
\n
"
);
sleep
(
1
); }
7
//return(0);
8
while
(
1
) {
printf
(
"parrent
\n
"
);
sleep
(
2
); }
9
10
}
This page took
0.35434 seconds
and
5
git commands to generate.