搜索资源列表
duzhexiezhewenti1
- 定义一个数据缓存buffer及用于实现同步互斥的信号量。 2、定义一个读者函数: ? 当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。 ? 当有其他读者在占用buffer时,读者可对buffer进行读取操作。 ? 当buffer中有数据时,则从其中读取一个数据,并显示然后退出。 ? 当buffer中没有数据时,应等待,直到buffer中有数据可读。 3、定义一个写者函数 ? 当有读者在占用buffer时,写者应该等待,直到所有的读者都退
thread
- 实现了将一个任务创建多个线程执行的功能。而且实现了多个生产者和多个消费者同步的功能。-To achieve a task that will create multiple threads perform executive functions. But also achieved a number of producers and multiple consumers in synchronization feature.
example
- 利用共享内存实现多线程间通信。 主线程派生子线程后即处于休眠状态,等待子线程结束时发出结束信号唤醒。在被唤醒后,主线程向屏幕输出结束信息! 线程A向共享内存中写入A~Z的大写字母。 线程B通过共享内存接收这些字母,并将其保存到/test.dat文件中。 注意线程之间的同步互斥! -Using shared memory communication between multi-threading. Derived from sub-thread after main thread
TuxedoProxy
- 多线程同时连接多个Tuxedo服务端,实现同步/异步通讯方式下的交易请求。 CTuxedoTransController //Tuxedo通讯控制器 CTuxedoTransAdapter //Tuxedo通讯适配器 CTuxedoSyncTransmitter //Tuxedo同步处理器 CTuxedoAsynSender //Tuxedo异步发送器 CTuxedoAsynReceiver //Tuxedo异步接收器-At the same time multi-threa
sharedmemry
- linux 多线程编程, 共享内存传递数据,为了实习多个线程同时访问数据,需要互斥,保证数据同步等-linux multithreaded programming, shared memory to transfer data, in order to practice multiple threads simultaneously access the data, need mutual exclusion, to ensure data synchronization
SEMAPHORE
- 使用信号量对象实现线程的同步的一个实例- The use signal quantity object realizes a line regulation synchronization example
MFCThread
- MFC下的多线程例子,包括线程间的同步以及临界资源的共享。-MFC under the multi-threaded examples, including synchronization and critical resources shared between threads.
MultiThread
- VC++ 多线程与聊天室程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。在接收线程函数中,遗忘了释放指针的操作,在随盘代码中已更正,特此说明。 -VC++ multithreaded program written with the chat room, multi-threaded applications prone to problems. Mutex objec
CreateProcess
- 在Linux下面的编程,创建进程、线程和进程同步。-In the Linux programming below, create a process, thread and process synchronization.
MySyn1
- 关于多线程的一个程序,主要是说明同步技术在多线程中的应用。-On a multi-threaded program, mainly that synchronous technology in multi-threaded applications.
0600
- 线程的同步和异步一个简单的例子 WORD wVersionRequested WSADATA wsadata int err wVersionRequested=MAKEWORD(1,1) err=WSAStartup(wVersionRequested,&wsadata) -Synchronous and asynchronous threaded a simple example WORD wVersionRequested WSADATA wsadata
mfctalk
- 由Visual C++ 4.1开发的一个ISAPI应用,它使用了同步对象(CCriticalSection)来保护线程请求的数据-By Visual C++ 4.1 developing a ISAPI applications, it uses a synchronization object (CCriticalSection) to protect the threads of the data request
EventSynch
- 多线程编程-利用事件对象实现线程之间的同步。-Multi-threaded programming- the use of event object to achieve synchronization between threads.
thread
- 线程锁.Windows系统是多任务操作系统,系统内核为我们提供了 事件(Event)、Mutex、信号灯(semaphore)和计时器4种对象来控制线程间的同步。 在C++Builder中,为我们提供了用于创建Event的TEvent对象供我们使用。-Thread lock. Windows system is a multi-tasking operating system kernel to provide us with the event (Event), Mutex, sema
lock
- 此代码为本人学习windows c++编程过程中的产物,实现了线程间的同步!!!如您有意,可参考一下-I learn from this code for windows c++ Programming product of the process to achieve synchronization between threads!!! If you are interested in, you may refer to
multhread
- 多线程编程:Win32 API多线程编程例程、MFC中的多线程开发、线程间通讯、线程的同步。-Multi-threaded programming: Win32 API routine multi-threaded programming, MFC in the multi-threaded development, inter-thread communication, thread synchronization.
jchq
- (1) 掌握基本的同步与互斥算法,理解生产者消费者模型。 (2) 学习实用Windows2000/XP中基本的同步对象特性,掌握相关API的使用方法。 (3) 了解Windows2000/XP中多线程的并发执行机制,实现进程的同步与互斥。 -(1) master the basic synchronization and mutual exclusion algorithms, understanding of the producer consumer model. (2) lea
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
Linux-userthread-library
- 可模拟实现Linux用户级线程库的静态调用,规避了多线程库的竞态条件和复杂的同步问题.除源代码外还有详细的设计说明文档.-Can simulate the realization of Linux user-level Thread Library static call circumvented competing multi-threaded library condition and complex synchronization problems. In addition to sour