#include <stdio.h>
#include<pthread.h>
void* show(void * u){
printf("this is child process\n"); }
int main()
{
pthread_t tid;
pthread_create(&tid,NULL,&show,NULL);
printf("in the main thread\n"); pthread_join(tid,NULL);
printf("complete all the things \n"); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlPHB0aHJlYWQuaD4KCgp2b2lkKiBzaG93KHZvaWQgKiB1KXsKICBwcmludGYoInRoaXMgaXMgY2hpbGQgcHJvY2Vzc1xuIik7Cn0KCmludCBtYWluKCkKewogIHB0aHJlYWRfdCB0aWQ7CiAgcHRocmVhZF9jcmVhdGUoJnRpZCxOVUxMLCZzaG93LE5VTEwpOwogIHByaW50ZigiaW4gdGhlIG1haW4gdGhyZWFkXG4iKTsKICBwdGhyZWFkX2pvaW4odGlkLE5VTEwpOwogIHByaW50ZigiY29tcGxldGUgYWxsIHRoZSB0aGluZ3MgXG4iKTsKICByZXR1cm4gMDsKfQ==