搜索资源列表
chat.zip
- 使用了多线程和信号量的聊天程序
socket Chat
- 一个用阻塞方式的socket 做的聊天程序,使用了多线程和信号量技术-an obstructive manner with the socket so chat, the use of the multithreading technology and signal volume
Mini FtpServer
- 一个演示工作原理命令的ftp服务器程序,使用信号量和临界区解决多线程的同步和互斥问题 -a demonstration of principle orders ftp server, the use of volume and signal to solve critical multithreading and synchronization of Mutual Exclusion
使用信号量进行线程同步
- 使用信号量进行线程同步控制,是学习多线程编程的好范例-use of signals volume thread synchronization control study is multi-threaded programming a good example
MultiThreadDB.rar
- 包括Socket读写多线程、多线程访问数据库、互斥量、临界区、事件、信号量等数据库访问,Socket read and write, including multi-threaded, multi-threaded access to the database, exclusive volume, critical, events, semaphores, such as database access
sync
- 实现多线程同步编程: 用软件方法(Peterson算法和Dekker算法)解决临界区问题-兄弟问题。 用同步对象解决临界区问题-兄弟问题。 用互斥量解决生产消费者问题;用信号量解决生产消费者问题。 -Achieve multi-threaded programming Synchronization: Ways to use software [Peterson algorithm and Dekker algorithm] to solve critical quest
Linux_Kernel
- Linux中各种内核态程序的编写,这是某个人的编程心得,里面有源代码,内容涉及互斥锁、信号量、多线程等,很不错的,值得参考!-Linux Kernel in a variety of procedures for the preparation of state, this is a personal experience of programming, which source code, which relates to mutual exclusion locks, semaphores,
pthread
- linux下的多线程的创建及信号同步,信号量,互斥量-under linux to create multi-threaded and signal synchronization, semaphores, mutex volume
consumer_producer
- 用信号量机制实现多个生产者—消费者问题,实现线程间的同步与互斥-Semaphore implementation mechanism with a number of producers- the consumer problem, achieve inter-thread synchronization and mutual exclusion
DuoXianCheng
- windows系统的多线程同步。本系统采用MFC编程。其运行界面如图1-2所示。分别人事件、互斥量、临界资源、信号量实现线程同步-windows of the multi-threaded synchronization system. MFC programming using the system. Running the interface as shown in Figure 1-2. Incidents, respectively, the amount mutually exclus
readerwriter
- 多线程实现读者写者问题,用信号量控制的多线程实现-Readers to write to achieve multi-threading problem
wei_linux
- 多线程编程基础(理论+实例) 包括互斥锁,条件变量,线程数据,信号量,线程属性。-The basis of multi-threaded programming (theory+ examples), including mutex locks, condition variables, thread data, semaphores, thread attributes.
Semaphore
- 使用信号量实现线程的同步,实现多线程同步应用,非常重要-good
ostest1
- 用多线程实现的银行叫号服务,用信号量进行线程间通信-Multi-threaded implementation of banking services called the number, the inter-thread communication semaphore
multi-thread
- linx多线程编程,实现一个多线程生产者消费者模型,用信号量处理线程间的同步和互斥问题。-Linx multithreaded programming, the realization of a multi thread producer consumer model, process synchronization and mutual exclusion problem among threads using signal volume
producer-customer
- linux中的多线程编程,信号量处理线程间的同步和互斥问题-In Linux multithreaded programming, the signal processing problem of synchronization and mutex between threads
pthread-master
- 模拟多线程之间信号量交互,适用于linux平台,采用c语言(semaphore interaction between multiple threads)
ThreadTool
- qt 多线程例子,实现信号量,线程通讯等 (QT multi-threaded example, the realization of semaphores, threads, communications, etc.)
信号量控制多线程例子
- 信号量控制多线程例子 使用信号量实现多线程的技术实例3(Signal quantity control multi thread example 3 technology instance using semaphore to realize multithreading)
Pi
- 运用蒙特卡洛方法计算π,多线程计算。创建几个线程,每个线程都会生成随机点并确定点是否落在圆圈内。 每个线程都必须更新圈内所有点的全局计数。 一旦所有线程退出,父线程将计算并输出π的估计值。 使用互斥锁或信号量保护共享全局变量更新时的竞争条件。 值得尝试生成的随机点的数量。 作为一般规则,点的数量越大,近似值越接近π。(Estimating Pi using Monte Carlo)