docs
[mirrors/Programs.git] / c / fork / fork.c
CommitLineData
21c4e167
H
1#include <stdio.h>
2#include <pthread.h>
3
4int 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.172084 seconds and 4 git commands to generate.