摘要:
note:Process Mode:pid_t pid = fork()if ( pid == 0){ // child process to do }else{ // parent process to do // waitpid( pid, & status, WNOHANG)}Pthread APIpthread_t thread;int pthread_create( pthread_t * thread, const pthread_att_t * att, void *(*start)(void *), void * arg)pthread_t pthread_self() 阅读全文