semaphore.rar
文件大小: 14k
下载次数:4
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

源码售价: 5 个金币 积分规则     积分充值
资源说明:The shared memory has three character buffers, which are used to store a small letter, a capital letter, and a digit respectively. These buffers are logically independent. This program have some writer and reader threads. The writer threads are responsible for producing characters into the buffers (the writer should write to the standard output what it just wrote to the buffer), whereas the reader threads consume the characters by printing them out to the standard output. Each time a reader thread consumes a character, it prints out the character followed by a new line character. After creating all the running threads, the original process (in the form of a system-created default thread) idle forever. All the spawned threads should run forever.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
    
  • linux3.rarLINUX视频教程3
  • linux1.rarLINUX视频教程,分一,二,三,四,四个部分,全部下载后解压缩就可以 ...
  • linux2.rarLINUX视频教程2
  • linux.rarGNU/Linux编程指南(入门、应用、精通),清华大学出版社,很不错的书,很实用的源代 ...
  • 一个类似QQ的软件源码.rarMyICQ是一套公开源代码的即时通讯软件,包括服务器端和客户端,可以用于互联网或局域 ...
  • raw_socket.zip示范了Unix和Linux下如何利用Raw Socket构造伪装的TCP、IP、UDP的包 ...
  • ppt.rarlinux培训资料,这可是花钱才能得到的东西呢,
  • unix_msg.zip使用消息队列的例子
  • linux-2.4.20.tar.gzLINUX 2.4.20 源代码 学LINUX的人很有用哦
  • threads-2.0.tar.gz多线程库