搜索资源列表
20110407-05-_MutexObject
- C++ 创建线程互斥对象的实例源码下载,声明线程函数,创建线程,程序睡眠,释放互斥对象,设置事件对象为无信号状态,生成控制台程序,仅供参考。-C++ to create an instance of the thread mutex source download, declare the thread function, create a thread, the program sleep, release the mutex object, set the event object to n
mutex
- This a SystemC file. this is written on C++ and call the systemC library. It s a simple examlpe.-This is a SystemC file. this is written on C++ and call the systemC library. It s a simple examlpe.
08281018_ShenChaobo_lab02
- 讨论临界区问题及其解决方案。实验首先创建两个共享数据资源的并发线程。在没有同步控制机制的情况下,实验过程中会发现某些异常现象。针对观察到的现象,请分别采用以下两套不同的解决方案: (1) 利用Windows操作系统提供的mutex机制。 (2) 采用软件方案。 最后请比较这两种方案的性能优劣。 -Discuss problems and solutions critical region. Experiment first to share data resources to c
chat-room
- 多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。-The preparation of multi-threaded programs, multi-threaded applications prone to problems. Mutex object to explain how to use mutex objects to multi-thread sync
VCprogress
- VC_6_0下利用互斥量同步线程来实现文件读取进度条-VC_6_0 under the use of mutex thread synchronization to achieve the file to read the progress bar
signal_mutex
- 演示了linux中用信号量实现互斥锁的机制,用gcc编译后运行-Demonstrated using linux semaphore mutex lock mechanism, with the gcc compiled and run
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
ex2
- 互斥量得使用方法,线程同步,兄弟线程的同步实现方法,课程设计内容-Have to use mutex, thread synchronization, thread synchronization methods brothers, instructional design
liaotian
- 多线程与聊天室程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。-Multithreaded program written with the chat room, multi-threaded applications prone to problems. Mutex object to explain how to use mutex objects to multi-thread synchroni
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
thread_mutex
- Linux program using threads and mutex server
cars.c.tar
- a junction using mutex and threads
Process-mutex-synchronization-and
- 进程的同步与互斥实验,以生产者和消费者的角度阐明进程之间的同步与互斥是怎样实现的-Process synchronization and mutual exclusion experiment to clarify the perspective of producers and consumers, synchronization and mutual exclusion between processes is how to achieve
vxworks-expriment-source-
- 嵌入式实时操作系统VxWorks实验教程(重庆大学通信工程学院),包含:多任务程序的创建和启动,时间片轮转调度,基于优先级抢占式调度,消息队列实现任务间的通信,使用二进制信号量来实现任务间的同步 ,使用互斥信号量来实现任务对共享资源的互斥访问,vxworks下任务间通信例程 等等。-Embedded real-time operating system VxWorks Experimental Course (Institute of Communication Engineering, Cho
mutex
- windows filedisk虚拟磁盘-windows filedisk virtue disk
mymutex
- Attached code provides the implementation of mutexex in linux. Mutex is used to protect shared resources in C/C++ appllications. This code is written based on BSD to help other community members
ReadFile
- 在Visual C++ 6.0下利用互斥量同步线程来实现文件读取进度条-In Visual C++ 6.0 under simultaneous threads using mutex to achieve the progress of the file read
thread-test.tar
- 一个关于linux线程的互斥量,条件变量,信号量的例子,看完了明白互斥量等线程同步的基本使用方法-A thread on linux mutex example, read the understand the basics of using a mutex
Example057
- Visual C++ 6.0下利用互斥量同步线程来实现文件读取进度条的程序源码,感兴趣的可以参考下-Visual C++ 6.0 under the thread synchronization using mutex to achieve the progress of the document read program source code, can refer interested
Produce Consume
- 通过互斥量、事件来解决生产者和消费者的问题,主要涉及的内容有多线程的创建,事件的创建,互斥量的创建,线程的同步。主要的函数有:CreateThread,CreateEvent,CreateMutex,WaitForMultipleObjects等。-Through the mutex, event producers and consumers to solve problems, mainly related to the contents of multiple thread creatio