摘要: We start our detailed description of the TCP source code by looking at the various TCP timers. We encounter these timers throughout most of the TCP functions. TCP maintains seven timers for each connection. They are briefly described here, in the approximate order of their occurrence during the ... 阅读全文
posted @ 2012-04-03 18:23 山涧鸟鸣 阅读(767) 评论(0) 推荐(0) 编辑
摘要: 1、进程间通讯方法SignalsPipesFIFOsFile LockingMessage QueuesSemaphoresShared Memory SegmentsMemory Mapped FilesUnix Sockets2、进程间通讯API 3、线程相关API 数据类型 pthread_t:线程句柄pthread_attr_t:线程属性 线程操纵函数(简介起见,省略参数): pthread_create():创建一个线程pthread_exit():终止当前线程pthread_cancel():中断另外一个线程的运行pthread_join():阻塞当前的线程,直到另外一个线程... 阅读全文
posted @ 2012-04-03 17:51 山涧鸟鸣 阅读(340) 评论(0) 推荐(0) 编辑