搜索资源列表
semdemo
- 适用于嵌入式linux的信号量源代码,绝对真实可用,非常有益。-For embedded linux semaphore code, absolute truth can be very useful.
pthread
- linux2.6.27,fc8平台,使用信号量实现生产者消费者问题-linux semaphore producers and consumers
Socket_linux
- linux环境下的socket编程,包括线程池,信号量,消息队列等-linux/unix socket
process
- 关于Linux下的进程间通信的知识,主要是信号量,消息队列,共享内存等。-On interprocess communication under Linux knowledge, mainly semaphores, message queues, shared memory and so on.
process
- linux-0.11的信号量实现。采用生产者消费者验证-linux-0.11 of the semaphore. Verified by producers and consumers! !
signal
- 这是linux操作系统这门课程中,有关信号量的课件-This is the linux operating system in this course, the courseware semaphore
Linuxmemory
- Linux环境进程间通信共享内存,共享内存可以说是最有用的进程间通信方式,也是最快的IPC形式。两个不同进程A、B共享内存的意思是,同一块物理内存被映射到进程A、B各自的进程地址空间。进程A可以即时看到进程B对共享内存中数据的更新,反之亦然。由于多个进程共享同一块内存区域,必然需要某种同步机制,互斥锁和信号量都可以。-Memory
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
process
- 有关Linux中进程间的通信 , 包括信号量 , 管道 , 有名管道 , 消息队列等 , 从系统方面详细介绍进程间的通信-For communication between processes in Linux, including semaphores, pipes, named pipes, message queues, etc., from the system described in detail the communication between processes
signal_mutex
- 演示了linux中用信号量实现互斥锁的机制,用gcc编译后运行-Demonstrated using linux semaphore mutex lock mechanism, with the gcc compiled and run
signal_synchronous
- 演示了linux中信号量的同步机制,用gcc编译后运行-Shows the amount of linux synchronization signal, compiled and run using gcc
p-and-c
- 在Windows和Linux操作系统上,利用各自操作系统提供的Mutex和信号量机制(Win32 API或Pthreads),实现生产者/消费者问题-In the Windows and Linux operating systems, the use of their operating system provided Mutex and semaphore mechanism (Win32 API or Pthreads), to achieve the producer/consumer
pthread_sync_and_mutual
- linux多线程极大方便了程序编写,但同时必须考虑线程同步、互斥问题。 示例代码给出了利用信号量实现P、V操作,从而保证多线程同步、互斥。-linux multithread programming is very convenient, but we must pay attention to synchronization and mutual exclusion. The sample code shows us how to ensure multi-thread synch
10
- 里面接受了,基于linux的管道,信号量等事例,是买光盘自带的,希望对大家有帮助-Which accepted, linux-based pipeline, semaphores and other examples, is to buy the disc comes, we want to help
thread-test.tar
- 一个关于linux线程的互斥量,条件变量,信号量的例子,看完了明白互斥量等线程同步的基本使用方法-A thread on linux mutex example, read the understand the basics of using a mutex
shengchanzheyuxiaofeizhe
- 设计目的:通过研究Linux 的进程机制和信号量,实现生产者消费者问题的并发控制. 说明:有界缓冲区内设有20个存储单元,有界缓冲区可用数组实现,缓冲区中的内容自定。 设计要求:(1)每个生产者和消费者对有界缓冲区进行操作后,即时显示有界缓冲区的全部内容,当前指针位置和生产者/消费者进程标识符.(2)生产者和消费者至少各有两个以上.(3)多个生产者或多个消费者之间须有对缓冲区进行共享操作的函数代码(注意互斥与同步).-Design Objective: To study the mech
IPC_Funs
- c++写的在linux环境下多线程间使用互斥锁、posix信号量和system v信号量,实现的通信程序。自己编写的,自己测试过。-written in c++ linux environment using multi-thread mutex locks, posix semaphores and system v semaphore, to achieve the communication program. I have written, and tested.
3.c
- 编写程序实现生产者-消费者问题。使用Linux的pthread线程库,创建2个生产者线程和2 个消费者线程。生产者线程计算当前的时间,把时间、第几次计算时间的序号(循环次 数)和线程ID作为一个消息,把消息放入缓冲区,消费者线程从缓冲区读出一个消息 并显示消息。缓冲区大小为5个,每个生产者线程生产10个消息,每个消费者线程消费 10个消息,即生产和消费分别为20次。 要求:2个生产者线程执行的代码是相同的(即执行同一函数),2个消费者线程也 一样。 提示: 生产者
pthread-manual
- 主要介绍了在linux环境下pthread的功能及使用情况,以及各个信号量的使用案例。-Introduces the pthread in linux environment function and usage, as well as the use of various semaphore case.
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