搜索资源列表
feng1
- 此程序是解决同步与互斥的程序源代码,同时也是通过进程,和选择不同的进程,如消费者和生产者,输入不同的字符,来决定将执行哪一个进程。-this procedure is to solve and coordinate the program's source code, but also through the process, and the choice of different processes, such as consumers and producers that the
OSWORK01
- 第一次用MFC写进程同步与互斥,生产者与消费者问题 -the first to write MFC process synchronization and mutual exclusion, producer and consumer issues
ossue
- 在Windows环境下,参考Windows环境下线程同步、互斥操作的例子,利用基本的文件操作系统调用,模拟读写问题。编写相应的函数,建立一个记录型的共享文件,并实现对该共享文件的打开、关闭、删除、读、追加记录、删除记录等操作。同时要求利用进程的同步与互斥机制实现多个用户进程对该文件的并发访问-the Windows environment, Windows environment reference thread synchronization, contradict operation exa
jchc
- 以生产者/消费者模型为依据,在Windows 2000环境下创建一个控制台进程,在该进程中创建n个线程模拟生产者和消费者,实现进程(线程)的同步与互斥。-to producer / consumer model as the basis, in Windows 2000 to create an environment console process, in the process of creating n threads simulation producers and consumers
Thread_Windows
- windows环境下进程的创建与撤销,使用API实现进程的同步与互斥-windows environment and the process of creating revocation, the use of API process of synchronization and mutual exclusion
Threadhuchi
- 进程管理调度的互斥,在计算机操作系统和原理实现中的重要性-process management and control of the mutex, the computer operating system and the principle of realizing the importance of
Philosophers
- 哲学家进餐问题,进程是独立参与分配资源的最小单位,在有线程的OS中,线程是运行的最小单位, 课堂所述进程之间的同步与互斥,实际上是属于不同进程的线程间的同步与互斥,当 然,属于同一进程的不同线程一样存在同步与互斥,其控制同步与互斥的原理跟进程 是一样的-dining philosophers problem, the process is independent participation in the allocation of resources as the smallest
zhexue05
- 进程同步,哲学家进餐共享临界区变量.定义信号量机制控制进程不互斥!-process synchronization, philosopher dining area share critical variables. Definition signal to the process control mechanism not contradict!
jiou05
- 奇偶哲学家通过信号量机制控制进程的同步和互斥访问临街区域,保证正常执行!-signal through the volume control mechanism for the process of synchronization and mutex visit to the region along the street to ensure normal execution!
philosophers05
- 经典进程同步和互斥另类WINDOWS解法.定义信号量机制在WINDOWS下完成哲学家进餐问题.-classical process synchronization and mutex WINDOWS alternative solution. Volume definition signal mechanism in Windows complete the dining philosophers problem.
Traficlights
- 这个程序只要用于实现进程(线程)互斥与同步-the procedures used to achieve as long as the process (thread) mutex and Synchronization
RandW
- 读者-写者问题源代码,实现进程之间的同步与互斥 -reader-written source code problem, the realization of the process of synchronization and mutex
EnTeHandle_1
- EnTeHandle可以让你查看当前进程打开的句柄。句柄可以是文件、事件、互斥信号量等等。此外,你也可以查看进程当前打开的DLL,线程信息,进程内存,甚至是动态更新。也可以搜索dll和句柄-EnTeHandle can let you see the current process opened handle. Can handle documents, events, etc. mutex semaphores. In addition, you can view the current pr
Productor_Consumer
- 1、在Windows系统环境下,用Windows API编程实现操作系统经典同步问题。 2、理解和运用信号量、PV原语、进程间的同步互斥关系等基本知识。 3、在实习过程中,加强对于进程同步概念的理解,对于实验进行分析。 4、掌握在Windows环境下多线程(进程)程序设计的一些基本方法。 -1, in the Windows system environment, Using Windows API programming operating system classic syn
vc_jiqiaoshili_part4
- Visual.C++程序设计技巧与实例--配套光盘 第4章 进程和线程 本章共有8个实例: 1. Process创建和终止进程 2. WorkerThread创建工作者线程 3. UIThread用户界面线程示例 4. Event使用事件对象来实现线程的同步 5. Thread使用临界区对象来实现线程的同步 6. Mutex使用互斥量对象来实现不同进程间的线程同步 7. Semaphore使用信号量对象实现线程的同步 8. MutiThread多线程任务调
RPG
- 用共享内存,信号灯,以及互斥锁实现进程,线程间的通信,来模拟三国问题-using shared memory, lights, and Mutex realization process, the communication between threads, to simulate the three issues
RW
- 读者写者问题源码.包含我的注释. 没有加入工程文件. 只有一个R&W.cpp.在vc++6.0下编译成功. 在Windows 2000 环境下,创建一个包含n 个线程的控制台进程。用这n 个线程来表示n 个读者或写者。每个线程按相应测试数据文件的要求,进行读写操作。请用信号量机制实现读者-写者问题(读者优先)。 读者-写者问题的读写操作限制: 1)写-写互斥; 2)读-写互斥; 3)读-读允许; 读者优先的附加限制:如果一个读者申请进行读操作时已有另一读者正在进行
src
- 进程管理 实验目的 掌握进程的概念,深入理解进程的含义。认识并理解并发环境中进程执行的实质问题,了解构成并发机制的进程创建过程; 了解在进程创建后通过对进程控制的系统调用,可实现对进程的有效控制。掌握在进程执行中对进程进行睡眠、同步、撤消等控制方法; 分析进程竞争资源的现象,学习解决进程互斥的方法。 实验内容 1、创建新的进程;查看运行进程;换出某个进程;杀死运行进程。 2、采用写者优先重写P94的读者-写者问题,并通过一个读写序列,将算法与读者优先算法进行比较
生产者消费者问题
- windows下用进程模拟生产者和消费者问题,实现进程之间的同步和互斥
进程和进程通信
- Part1 :自己设计一个程序,该程序创建一个子进程,使父子进程合作,协调地完成某一功能。要求在该程序中还要使用进程的睡眠、进程图象改换、父进程等待子进程终止、信号的设置与传送(包括信号处理程序)、子进程的终止等有关进程的系统调用。 Part 2:分别利用UNIX的消息通信机制、共享内存机制(用信号灯实施进程间的同步和互斥)实现两个进程间的数据通信。具体的通信数据可从一个文件读出,接收方进程可将收到的数据写入一个新文件,以便能判断数据传送的正确性。