Added some small boring scripts and programs writen in few last years
[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.275704 seconds and 4 git commands to generate.