秀杰空间

  • 首页
  • 心情笔记
  • Linux/Unix C/C++
  • PHP
  • 我的项目
Linux/Unix C/C++
Linux/Unix C/C++

UNIX环境高级编程学习之第十一章线程-线程的创建、退出、等待、取消、分离

UNIX环境高级编程学习之第十一章线程-线程的创建、退出、等待、取消、分离 [code lang="cpp"]#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <pthread.h> void* thread_fun(void* arg) // 线程执行函数1 { printf("fun:hello world!/n&qu…

2016年9月7日 0条评论 1079点热度 0人点赞 秀杰 阅读全文
Linux/Unix C/C++

UNIX环境高级编程学习之第十章信号-用信号实现父子进程同步

UNIX环境高级编程学习之第十章信号-用信号实现父子进程同步

2016年9月7日 0条评论 1084点热度 0人点赞 秀杰 阅读全文
Linux/Unix C/C++

UNIX环境高级编程学习之第十章信号-用信号和非局部转移函数写非阻塞的IO函数

UNIX环境高级编程学习之第十章信号-用信号和非局部转移函数写非阻塞的IO函数 [code lang="cpp"]/* File: NonblockingIO.c Desc: 用信号和非局部转移函数写非阻塞的IO函数 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <signal.h> #include <sys/typ…

2016年9月7日 0条评论 1309点热度 0人点赞 秀杰 阅读全文
Linux/Unix C/C++

UNIX环境高级编程学习之第十章信号-信号的基本操作(绑定/忽略/默认/发送)

UNIX环境高级编程学习之第十章信号-信号的基本操作(绑定/忽略/默认/发送) [code lang="cpp"]/* File: signal.c Desc: 信号基本操作 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <signal.h> #include <sys/types.h> #include <…

2016年9月7日 0条评论 1043点热度 0人点赞 秀杰 阅读全文
Linux/Unix C/C++

UNIX环境高级编程学习之第九章进程关系-创建孤儿进程

UNIX环境高级编程学习之第九章进程关系-创建孤儿进程 [code lang="cpp"]/* File: OrphanProcess.c Desc: 创建孤儿进程 父进程终止后,向原子进程发送挂断信号,又接着发送继续信号。 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <signal.h> #include <sys…

2016年9月7日 0条评论 1143点热度 0人点赞 秀杰 阅读全文
Linux/Unix C/C++

UNIX环境高级编程学习之第八章进程控制-用父子进程实现打开kate,返回kate关闭状态

UNIX环境高级编程学习之第八章进程控制-用父子进程实现打开kate,返回kate关闭状态 [code lang="cpp"]#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <errno.h> int main() { pid_t pid= fork(); if (pid < 0) { printf("fork e…

2016年9月7日 0条评论 1499点热度 0人点赞 秀杰 阅读全文
1…45678

秀杰

做些有意义的事情

标签聚合
tuxedo UNIX环境高级编程 ubuntu select epoll zookeeper socket 分布式
最新 热点 随机
最新 热点 随机
C++使用protobuf快速入门简明教程 Mac安装Brew(Homebrew)国内镜像源加速 从sockaddr_storage结构中取IP地址和端口 [转载]分布式之数据库和缓存双写一致性方案解析 TPS和QPS的区别和理解 2018最新可靠好用的DNS服务器地址汇总
[转]【精辟】socket阻塞与非阻塞,同步与异步,select,pool,epool zookeeper集群部署搭建 [转载]分布式之数据库和缓存双写一致性方案解析 Mac安装Brew(Homebrew)国内镜像源加速 UNIX环境高级编程学习之第十五章进程间通信 - 两个进程通过映射普通文件实现共享内存通信 2018最新可靠好用的DNS服务器地址汇总

COPYRIGHT © 2023 个人笔记. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang