搜索资源列表
ipc
- 这是自己学习进程间通信时敲得代码,有共享内存、管道、信号量、消息队列,互斥锁等的典型用法-This is the communication between their own learning process when the knock code, the typical usage of the shared memory, pipes, semaphores, message queues, mutexes.
Linux-IPC.tar
- 资源中包含了Linux进程间通信的例子,同时有源文件和可执行文件。 源码主要包含了Linux下IPC机制的本地进程通信方式,包含了IPC共享内存,IPC信号量,IPC消息队列的实现,以及Linux下判断进程退出原因的示例程序。因为是做毕设学习时的练习程序,因此程序有详细的注释。(注意,每种通信方式需要在同时两个终端中查看验证,才可以看出效果,注意查看源码注释)-the source code included in the copressed package shows how IPC wo
ipc
- linux进程间通讯,包括管道、消息队列、信号量通讯。-linux inter-process communication, including pipes, message queues, semaphores communications.
UNIXCcode
- 用C语言编写的Unix代码实例 供大家参考 -#include <sys/sem.h> #include <sys/types.h> #include <sys/ipc.h> #include <stdio.h> #include <sys/stat.h> #define VERIFYERR(a, b) if (a) fprintf(stderr, " s failed.\n", b) else fp
12_msg
- Linux 进程间通信实例之一——消息队列 使用了信号量用于进程间的同步。-Linux is one example of inter-process communication- the message queue using semaphores for synchronization between processes.
AKAE_train_code
- 任务间的同步 事件和事件控制块——描述事件的数据结构 信号量及其使用 消息邮箱及其使用 消息队列及其使用-Synchronization between tasks and event control block event- the event describing the data structure and its use semaphore messages using the message queue and the mailbox and its use
xsi.tar
- 几种常见unix进程间通信的使用,消息队列,信号量,共享内存-Several common unix use inter-process communication, message queues, semaphores, shared memory
Socket_linux
- linux环境下的socket编程,包括线程池,信号量,消息队列等-linux/unix socket
process
- 关于Linux下的进程间通信的知识,主要是信号量,消息队列,共享内存等。-On interprocess communication under Linux knowledge, mainly semaphores, message queues, shared memory and so on.
Operating-System
- 这是我在研究生助教期间花了很大心血做的Linux操作系统的课件,范围包括GCC使用 Shell脚本基础 Linux进程、线程、信号、信号量、消息队列以内存共享以及文件系统等方面的知识。-This is my graduate student teaching assistants spent a lot of effort to do during the Linux operating system, courseware, covering the GCC based on Linux us
3.c
- 编写程序实现生产者-消费者问题。使用Linux的pthread线程库,创建2个生产者线程和2 个消费者线程。生产者线程计算当前的时间,把时间、第几次计算时间的序号(循环次 数)和线程ID作为一个消息,把消息放入缓冲区,消费者线程从缓冲区读出一个消息 并显示消息。缓冲区大小为5个,每个生产者线程生产10个消息,每个消费者线程消费 10个消息,即生产和消费分别为20次。 要求:2个生产者线程执行的代码是相同的(即执行同一函数),2个消费者线程也 一样。 提示: 生产者
jctx
- 实验三 进程间通信 UNIX/LINUX系统的进程间通信机构(IPC)允许在任意进程间大批量地交换数据。本实验的目的是了解和熟悉LINUX支持的信号量机制、管道机制、消息通信机制及共享存储区机制。 -In Experiment 3, inter-process communication UNIX/LINUX system inter-process communication agencies (IPC) to allow large quantities in any exchang
source
- 在vc下编译通过完整的UCOSII的4个任务的程序,包括信号量,消息邮箱等-In vc compile complete the four tasks UCOSII procedures, including semaphores, message mailboxes, etc.
chapter15
- 嵌入式Linux中信号量、消息队列、共享内存编程设计-Embedded Linux, semaphores, message queues, shared memory programming design