搜索资源列表
多线程程序的编写聊天 程序
- 多线程程序的编写聊天程序多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例-multithreading procedures in the preparation chat program multithreaded program, multi-threaded applications easily occur. Mutex object explain how to use mutex objec
Metex
- VC多线程互斥编程示例代码!有弹出提示框~~~不容错过
ListCtrl多线程
- 编写一个多线程程序(两个线程),一个线程向列表控件中插入数据,一个读取并显示列表控件中的数据,显示完后删除已显示的数据。(显示的方式可以以对话框的方式显示),在读删数据时要注意线程的互斥。-prepared a multithreaded process (two threads), a thread to the list of controls to insert data, a reading list and display controls the data show that aft
vc++多线程
- 多线程编程 进程和线程都是操作系统的概念。进程是应用程序的执行实例,每个进程是由私有的虚拟地址空间、代码、数据和其它各种系统资源组成,进程在运行过程中创建的资源随着进程的终止而被销毁,所使用的系统资源在进程终止时被释放或关闭。 线程是进程内部的一个执行单元。系统创建好进程后,实际上就启动执行了该进程的主执行线程,主执行线程以函数地址形式,比如说main或WinMain函数,将程序的启动点提供给Windows系统。主执行线程终止了,进程也就随之终止。 每一个进程至少有一个主执行线
multipleThread.rar
- 本论文是关于用互斥量实现多线程,文章以进度条的读取为例子进行详细阐述,对于有意学习多线程编程的程序员有一定的帮助作用,This paper is about the amount of use of mutually exclusive multi-thread, the progress of the article to be read as an example for details, who intend to study multi-threaded programming to h
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
Linux_multithread
- Linux下多线程编程的相关资料,:研究了在LINUX 操作系统下多线程的编程方法,主要包括多线程的基本创建方法、如何修改 多线程的属性以及线程之间的数据处理. 重点论述了多线程数据处理方法中的互斥锁和条件变量.-Linux multi-threaded programming under the relevant information: The LINUX operating system in multi-threaded programming methods, including
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,
MutexSynch
- 多线程编程-利用互斥量对象实现线程之间的同步。-Multi-threaded programming- the use of mutex objects to achieve the amount of synchronization between threads.
11ThreadMutex
- mfc中多线程编程利用互斥量对同一资源的操作 -mfc in multi-threaded programming using the same amount of resources mutex operations
pthread
- linux下的多线程的创建及信号同步,信号量,互斥量-under linux to create multi-threaded and signal synchronization, semaphores, mutex volume
java_threaddemo
- 哲学家就餐是一个经典的Java多线程编程的实例,这是图形版。涉及到线程同步与互斥,临界区访问问题以及避免死锁的方法。 -Dining Philosophers is a classic example of Java multi-threaded programming, it is graphic version. Related to thread synchronization and mutual exclusion, critical access issues and ways to
reader_writer
- 读者写者问题,通过临界资源互斥实现多线程的读写控制-Readers to write those problems through the critical resources mutually exclusive multi-threaded read-write control
MutipleThread
- 解决多个售票员售票,把一张票售给多个乘客的问题,采用多线程同步与互斥解决。-Solve multiple conductor ticket sales, the number of passengers a ticket sold to the problem of multi-thread synchronization and mutual exclusion solution.
线程-Java
- 实现多线程 互斥锁 线程池 线程同步利用Java实现(Achieve multi-threaded mutex sewing thread pool)
Windows下线程的创建和并发执行
- 编写一个程序,完成多个线程的创建,使得所创建的多线程在处理机上并发执行。通过本实验,学习在Win32程序中利用操作系统提供的API创建线程,并通过所创建线程的运行情况来获得关于多线程并发的感性认识,以及加深对临界资源(本实验中临界资源是屏幕)互斥访问的理解。(Write a program to complete the creation of multiple threads, so that the created multithreading is executed concurrentl
Pi
- 运用蒙特卡洛方法计算π,多线程计算。创建几个线程,每个线程都会生成随机点并确定点是否落在圆圈内。 每个线程都必须更新圈内所有点的全局计数。 一旦所有线程退出,父线程将计算并输出π的估计值。 使用互斥锁或信号量保护共享全局变量更新时的竞争条件。 值得尝试生成的随机点的数量。 作为一般规则,点的数量越大,近似值越接近π。(Estimating Pi using Monte Carlo)
9、用线程移除列表数据。
- c# 多线程编程,线程移除列表数据,线程互斥(C# multithreaded programming, thread remove list data, thread mutual exclusion)
多线程和数据缓存
- 进程和线程,同步,互斥,并发 数据缓存基本实现原理