欢迎来到贱贱的博客

扩大
缩小

2017年5月21日

linux线程笔记1之创建线程

摘要: 1 线程与进程的对比 这里有一个笔记详细的阐述 http://blog.csdn.net/laviolette/article/details/51506953 2 创建线程函数 int pthread_create(pthread_t *thread, const pthread_attr_t * 阅读全文

posted @ 2017-05-21 16:19 L的存在 阅读(324) 评论(0) 推荐(0)

linux的僵尸进程和孤儿进程

摘要: 1 僵尸进程: 子进程已经退出勒 但是还没有回收资源的进程为僵尸进程 代码验证 2 孤儿进程: 父亲进程先退出而导致一个子进程被init进程收养的进程为孤儿进程 代码验证 阅读全文

posted @ 2017-05-21 15:38 L的存在 阅读(316) 评论(0) 推荐(0)

导航