摘要: 创建线程和结束线程 pthread_create #include <pthread.h> /* Create a new thread, starting with execution of START-ROUTINE getting passed ARG. Creation attributed 阅读全文
posted @ 2022-02-03 22:47 放飞梦想C 阅读(96) 评论(0) 推荐(0) 编辑
摘要: fork系统调用 #include <sys/types.h> #include <unistd.h> /* Clone the calling process, creating an exact copy. Return -1 for errors, 0 to the new process, 阅读全文
posted @ 2022-02-03 18:10 放飞梦想C 阅读(84) 评论(0) 推荐(0) 编辑