搜索资源列表
MutexSynch
- 多线程编程-利用互斥量对象实现线程之间的同步。-Multi-threaded programming- the use of mutex objects to achieve the amount of synchronization between threads.
Chat
- 多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。-Procedures for the preparation of multi-threaded, multi-threaded applications easily arise. Mutex object to explain how the use of mutex objects to achieve simu
MultiThread
- 多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。-Procedures for the preparation of multi-threaded, multi-threaded applications easily arise. Mutex object to explain how the use of mutex objects to achieve simu
done
- 本系统的同步机构采用信号量上的P、V操作的机制;控制机构包括: (1)阻塞和唤醒操作; (2)时间片中断处理程序模拟时间片中断; (3)进程调度程序负责为各进程分配处理机。 系统中涉及了3个并发进程。它们之间的关系是: (1) 3个进程需要互斥使用临界资源S2。 (2)进程1和进程2又需互斥使用临界资源S1. 本系统在运行过程中随机打印出各进程的状态变换过程,系统的调度过程及公共变量的变化情况。-Synchronization of the sy
producer_and_consumer
- 操作系统同步与互斥的经典问题--生产者与消费者问题编程代码-Operating system synchronization and mutex classic problem- the issue of producers and consumers of programming code
Access
- 在Windows2000环境下,创建一个控制台进程,此进程包含n个线程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先问题。 读者-写者问题的读写操作限制(包括读者优先和写者优先) 1) 写-写互斥:不能有两个写者同时进行写操作 2) 读-写互斥:不能同时有一个线程在读,而另一个线程在写。 3) 读-读允许:可以有一个或多个读者在读。 -In Windows2000 environment,
operat
- 操作系统试验——进程同步与互斥代码,希望对学习有帮助-Test operating system- the process of synchronization and mutex code, and they hope to learn helpful
11ThreadMutex
- mfc中多线程编程利用互斥量对同一资源的操作 -mfc in multi-threaded programming using the same amount of resources mutex operations
pv
- 在linux环境下c语言实现生产者消费者问题。多个生产者消费者互斥访问缓冲区-In linux environment c language producers consumer issues. Mutex consumers to visit a number of producers in the buffer zone
Producer_Customer
- 模拟操作系统中进程的互斥和同步,解决生产者和消费者问题。使用图形界面,可以在程序中方便的更改生产者和消费者个数,和模拟速度。-Simulation of the operating system mutex and synchronization process to resolve the issue of producers and consumers. Use graphical interface, you can change the process convenient number
pthread
- linux下的多线程的创建及信号同步,信号量,互斥量-under linux to create multi-threaded and signal synchronization, semaphores, mutex volume
produce_consume
- 模拟进程同步中的进程与线程问题,熟悉信号量的使用及互斥同步过程-Simulation of the process of synchronization of processes and threads problem, familiar with the use of semaphores and mutex synchronization process
MUTEXES
- 操作系统MUTEX 的使用方法及实例-Mutex to use the operating system and examples
CreateMutex_SingleApp
- 利用系统提供的接口-互斥体实现只运行一个应用程序实例,防止同时运行多个程序产生冲突,例如杀毒软件这样的程序。程序是用API函数实现,但是稍加修改或不修改就可使用,挺方便。-Use of system interface- mutex to achieve only run an application example of running multiple programs at the same time to prevent conflicts, such as antivirus soft
P3
- 利用互斥对象实现对变量的互斥访问,来达到实现线程同步的目的 再去掉互斥对象后,就可实现线程不同步.-Use mutex object mutex implementation of variable access, to achieve the implementation of thread synchronization purposes and then remove the mutex object, the thread can not achieve synchronization
pthreads_applications
- 这是一个典型的多线程的实验,是用互斥锁来实现生产者与消费者的关系-This is a typical multi-threaded experiments Mutex are used to achieve the relationship between producers and consumers
Lock
- Mutex锁的封装类,设计精良,初学者必看-Mutex lock package categories, well-designed, beginners must-see
Queue
- 队列管理封装类,包括mutex锁, 先进先出的功能-Queue management package categories, including mutex locks, the function of FIFO
Lock
- 有关互斥锁的介绍,在多线程中,在不同线程中计算同一个数据时,需要用互斥锁-Introduction of the mutex lock, in the multi-threaded, in different threads to calculate the same data, the need to lock mutex
MultiThread
- 实例了多线程程序的编写。对于多线程应用中容易出现的问题,以及如何使用互斥对象来实现多线程的同步有较好效果。-Examples of the preparation of multi-threaded process. For easy multi-threaded applications in the problems and how to use the mutex object to achieve the simultaneous multi-threading have good re