Description: linux下用C语言写的聊天程序!/*BUG and NOTE:
Not join protect to Shared Memory Segments,example Semaphore Arrays.
Not check the parameters validity.
When transmit may be error.
If the client program no right exit,others cannot know,the service program shouldbe check the client program whether exist timing.
The program when exit(), it do not delete the Shared Memory Segments,you maybe use atexit() but the program have some processes.
When one process is exit(),others is continue.
The service program s action is few.
And so on. */ Platform: |
Size: 5177 |
Author:吴兴圆 |
Hits:
Description: Linux 下进程间通信实例之一——信号量
使用信号量控制父子进程的输出顺序-Linux, one example of inter-process communication- use semaphore semaphore control the output of the process of the order of father and son Platform: |
Size: 11264 |
Author:hero |
Hits:
Description: Linux 下进程间通信实例之一——共享内存
使用了信号量用于进程间的同步-Linux, one example of inter-process communication- shared memory semaphore used for synchronization between processes Platform: |
Size: 18432 |
Author:hero |
Hits:
Description: Linux下信号量的使用方法,通过这个例子可以学会Linux下的线程同步方法-Under Linux semaphore usage, thread synchronization method by the example under Linux can learn Platform: |
Size: 1024 |
Author:邵小龙 |
Hits:
Description: 1.学习并理解如何使用 Hadoop,学会在 Hadoop 中运行简单的程序,了解其运
行过程。
2.通过学习生产者/消费者问题理解多线程同步问题。
1.在 Linux 环境下建立大数据处理框架
(1)学习 Hadoop 的相关知识。
(2)安装并配置 Hadoop 环境。
(3)在 Hadoop 上执行 WordCount 示例。
2. 实现生产者/消费者同步问题
(1)在 linux 系统中学习信号量的使用。
(2)执行生产者与消费者模型。(1. learn and understand how to use Hadoop, learn to run simple programs in Hadoop and understand its operation.
Line process.
2., we understand multithreading synchronization by studying the producer / consumer problem.
1. building a large data processing framework under the Linux environment
(1) learn the relevant knowledge of Hadoop.
(2) install and configure the Hadoop environment.
(3) execute the WordCount example on Hadoop.
2. realization of Producer / consumer synchronization
(1) learn the use of semaphore in Linux system.
(2) implement the model of producer and consumer.) Platform: |
Size: 3051520 |
Author:violetta |
Hits: