搜索资源列表
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
lab_4.tar
- HIT 实验四 信号量的创建,并利用信号量运行生产者消费者程序-HIT lab4
-OSlab4.tar
- HIT,实验四,信号量的创建,利用信号量运行生产者消费者进程。-lab 4 make use of sem to set up producer and consumer process
OS1
- 基于DOS在turbo2环境下实现多任务调度,同步以及信号量机制-DOS-based environment in turbo2 multi-task scheduling, synchronization and semaphore mechanism
readawrite
- 读者写者问题 同步互斥问题 操作系统 信号量-read and write
test_EventWithoutSem
- pc的windows下得BC4.5环境中,新建事件任务,在没有引入信号量的情况下,会发生一些现象,仔细观察,这些现象,可以深入的理解多任务操作系统-pc, the windows have BC4.5 environment, the new event task, the amount of the incoming signal in the absence of the case, the phenomenon will occur, careful observation of thes
test_EventWithSem
- pc的windows下得BC4.5环境中,新建事件任务,在引入信号量的情况下,会发生一些现象,仔细观察,这些现象,可以深入的理解多任务操作系统-pc, the windows have BC4.5 environment, the new event task, in the case of the introduction of a semaphore, a number of phenomena occur, careful observation of these phenomena ca
small_rtos1.0
- 本os创建任务,任务调试,信号量等功能。-It s a real time OS.
The-barber
- 基于操作系统的,理发师睡觉的问题,关于信号量的问题-Based on the operating system, the barber sleep problems, about the amount of signal
memory-op
- 使用Windows 2000/XP的API函数,编写一个包含两个线程的进程,一个线程用于模拟内存分配活动,一个线程用于跟踪第一个线程的内存行为,而且要求两个线程之间通过信号量实现同步。模拟内存活动的线程可以从一个文件中读出要进行的内存操作。-Use the API functions in Windows 2000/XP, the preparation of a process contains two threads, one thread is used to simulate memo
os
- 多道程序缓冲区协调操作实验报告:通过信号量实现多道程序缓冲区协调操作。-The multiprogramming buffer coordinated manipulation experiments report
Lab2.2
- 实现了内核的信号量,内核的消息机制,采用中断方式处理设备驱动。-Kernel semaphore, the kernel of the message mechanism, interrupt processing device drivers.
philosopher
- 哲学家就餐问题,有左撇子,至少使用信号量、消息通信、管程三种方式之中的一种模拟哲学家就餐问题。 用一个输入变量控制是否有左撇子哲学家。如果有,其数量由随机数生成。 模拟程序分为两种情况, 可能发生死锁的情况,输出发生死锁时的资源分配状态和历史资源分配状态; 设计没有死锁发生的程序,当每个哲学家至少完成一次就餐后,输出资源分配给哲学家的当前状态和历史状态。 最好具备图形界面,动态显示哲学家就餐的过程。-Dining philosophers problem, a left-ha
UCOSIImailbos-and-signal
- ucos的邮箱实验,和信号量的实验,希望能有帮助-the ucos mailbox experiments, and semaphore experiments, hoping to help
UCOSIImessage-queue-semaphore
- 实验3-消息队列、信号量集和软件定时器的相关实验-Experiment 3- message queues, semaphore sets and software timer experimental
Dining-philosophers-problem
- 哲学家就餐问题是一道十分经典的进程同步问题。该道题旨在解决当资源有限时(可能产生死锁),如何有效地避免死锁的问题。本实验选取“and”型信号量的解决办法,只有当哲学家具备同时拿到左右两只筷子的能力时,才能吃饭。否则,若则学家只能能够拿到一只筷子时,他只能放弃这只筷子,供其他可能需要这只筷子的哲学家使用。这样,只有哲学家左右两人均不进食时,该哲学家才有吃饭的权利。采取这种方法可以有效地避免死锁的产生。-The dining philosophers problem is a very classi
philosopher5
- 在linux下的哲学家问题的解决方案,使用了信号量等知识-Philosophers solution to the problem under linux, using semaphore knowledge
Test1
- 演示嵌入式操作系统uC/OSII中的通过信号量实现任务之间的单向同步-Demonstrate the one-way synchronization between two tasks through the semaphore in the embedded operating system uC/OSII.
productor_consumer
- 本程序综合采用V fork 、共享内存、信号量机制实现了2个生产者与2个消费者之间的进程同步。并完成了程序的准确性验证。同时,为了更加准确的测试程序的稳定性,设定了每个生产者和消费者在对缓冲区进行操作前都会等待一段随机的时间,并把缓冲区大小设置得相对较小。最后经过多次测试,程序结果均完全正确.-This procedure using a combination of V fork, shared memory, semaphores mechanism to achieve the proce
Gui-Chen_lab4.tar
- 操作系统实验,在共享内存的基础上实现信号量。-Experimental operating system, the amount realized on the basis of the signal on the shared memory.