搜索资源列表
DZXZWT
- 在windows 98/2000下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件的要求进行读写操作。用信号量机制实现读者优先的读者——写入者问题-the windows 98/2000, the process of creating a console, this process contains n threads. Use this thread to n n readers who write. Thread each of the
vc_jiqiaoshili_part4
- Visual.C++程序设计技巧与实例--配套光盘 第4章 进程和线程 本章共有8个实例: 1. Process创建和终止进程 2. WorkerThread创建工作者线程 3. UIThread用户界面线程示例 4. Event使用事件对象来实现线程的同步 5. Thread使用临界区对象来实现线程的同步 6. Mutex使用互斥量对象来实现不同进程间的线程同步 7. Semaphore使用信号量对象实现线程的同步 8. MutiThread多线程任务调
thread-process
- VC++进程线程实例:EVENT,MUTEX,MUTITHREAD,PROCESS,SEMAPHORE,THREAD,UITHREAD,WORKERTHREAD
Semaphore
- 进程通信与进程同步机制实践 有三个进程R、M、P,分别负责从键盘读入数据、对读入的数据进行处理、将处理后的数据从屏幕输出,三个进程共享同一个缓冲区。试用操作系统提供的进程通信和同步机制,使三个进程能够相互协作,正确的完成数据的读入、处理和输出。
lab4
- 哈工大操作系统实验4:linux 0.11上信号量的实现-HIT Operating System Experiment 4: linux 0.11 on a semaphore implementation
ucore-lab5
- Ucore是一个很小的适于学习的操作系统,此“麻雀”包含虚存管理、进程管理、处理器调度、同步互斥、进程间通信、文件系统等主要内核功能,总的内核代码量(C+asm)不会超过5K行。充分体现了“小而全”的指导思想。 这是ucore的实验5:进程同步。实验目的:熟悉ucore中的进程同步机制,了解操作系统为进程同步提供的底层支持;在ucore中实现信号量(semaphore)机制;理解管程机制,在ucore中增加对条件变量(condition variable)的支持;了解经典进程同步问题,并使用
phy
- 多线程解决哲学家就餐问题,利用操作系统中互斥量和信号量-Multi-threading to solve the dining philosophers problem, using the operating system mutex and semaphore
pv
- 信号量也称为信号锁,主要应用于进程间的同步和互斥,在用于互斥时,通常作为资源锁。信号量通常通过两个原子操作wait(P)和signal(V)来访问。wait操作使信号量的值+1,signal操作使信号量的值-1。本程序模拟了操作系统的pv操作-Semaphore is also known as signal lock, mainly used in inter-process synchronization and mutual exclusion, are used in mutually
producer-consumer
- 用信号量解决生产者消费者问题,简捷易懂!-Semaphore producers with consumers to solve the problem, simple and understandable!
1
- 生产者消费者问题资料集。 操作系统里很重要的一个问题,可以帮助更清晰的理解信号量。-Producers of consumer data sets. Operating system in a very important issue, can help to more clearly understand the semaphore.
producder
- C++语言实现生产者消费者问题 生产者-消费者问题是一个经典的进程同步问题,该问题最早由Dijkstra提出,用以演示他提出的信号量机制。-C++ language to achieve the producer consumer problem producers- consumers are a classic problem of process synchronization problem, the problem was first proposed by Dijkstra pr
OS.tar
- MINIX操作系统的内核修改补丁,增加了实时调度,迷你文件系统,semaphore系统服务。-MINIX OS projects for adding real-time scheduling, minifile file system and semaphore service.
OperatingSystem
- 该程序涉及进程创建和撤销相关理论;涉及信号量相关理论;涉及进程调度相关理论; 涉及死锁相关理论;涉及页面置换相关理论;涉及磁盘调度相关理论;涉及内存管理相关理论;是一个真实的内核实验,它涉及了可执行文件的装载与重定位。 -The program involves the process of creation and revocation of the relevant theory related Semaphore related theory involved in the proce
mune
- 线程同步机制。 互斥器的功能和临界区域很相似。区别是:Mutex所花费的时间比Critical Section多的多,但是Mutex是核心对象(Event、Semaphore也是),可以跨进程使用,而且等待一个被锁住的Mutex可以设定TIMEOUT,不会像Critical Section那样无法得知临界区域的情况,而一直死等。-Thread synchronization mechanism. Mutex' s function and the critical region is
cs307
- semaphore hede for java.
CoOSv1.12
- ARM Cortex M3及M0定制操作系统 高度可裁剪性,最小系统内核仅974Byte 支持优先级抢占和时间片轮转 自适应任务调度算法 零中断延时时间 堆栈溢出检测 信号量、邮箱、队列、事件标志、互斥等同步通信方式 支持多种编译器:ICCARM、ARMCC、GCC -Specially designed for Cortex-M series Scalable, minimal system kernel is only 974Byte A
Produce_Consume_Pthread
- 利用各自操作系统提供的Mutex和信号量机制(Win32 API或Pthreads),实现生产者/消费者问题-Provided by each operating system Mutex and semaphore mechanism (Win32 API or Pthreads), to achieve the producer/consumer problem
UCOSIImessage-queue-semaphore
- 实验3-消息队列、信号量集和软件定时器的相关实验-Experiment 3- message queues, semaphore sets and software timer experimental
shared-mem-with-semaphore
- shared-memory with semaphore-using a semaphore to synchronize access to a shared memory segment.
Semaphore-thread-safe
- labVIEW平台 信号量实现线程安全 编程实例源代码-Semaphore thread safe
