搜索资源列表
thread_sample
- 线程示例:读写文件、递归创建线程进程、快速排序-thread Example : reading and writing documents, recursive process of creating threads, Quick Sort
ThreadSync01
- 当你在程序中使用多线程时,这经常会用到,而且这些线程需要同时访问同一个资源时,这个可能性很大,这时候你就需要用到线程同步技术。有些线程以只读方式访问资源,我们叫它ReadThread,而有些线程却需要对资源进行写入,我们叫它WriteThread,我们暂时先这样称呼。如果一个线程对资源的访问是读写方式,我们把它看作是WriteThread。 -when you process multiple threads, which are often used, but these threads
othelloapplet
- 一个月作的多线程的黑白翻转棋Othello的java程序,如果你读完后会对多线程有新的理解-month for the multi-threaded black-and-white chess Othello overturned the java procedure, if you will after reading Multithreading is a new understanding
POSIX 线程详解
- 来自IBM的教程,我把它做成了PDF。本文详细说明了POSIX线程的概念以及借口的用法。适合初级程序员阅读-from IBM's Guide, I put it into a PDF. This paper details the POSIX threads, and the concept of the use excuses. The initial reading for programmers
cdy.cpp
- 读者写者问题 包括读优先 写有先 程序写的不错,希望大家参考-readers to write persons including reading a first priority was to write a good procedure, we hope reference
claar
- NT下未公开的多线程读,单线程写的函数-NT undisclosed multi-threaded reading, writing threaded functions
SuperCopy
- VC++,利用线程技术开发的文件复制工具,对于复制难读的VCD光盘中的硬盘特别有效(也是为此目的而开发,因为在盘片有错误时,WINDOWS会无法复制,这种错误往往会出现在文件的末段).-VC, the use of threaded technology development tools for the reproduction of documents. For hard copy of the VCD reading the hard disk particularly effective
multitreadsrc4
- 线程的同步 虽然多线程能给我们带来好处,但是也有不少问题需要解决。例如,对于像磁盘驱动器这样独占性系统资源,由于线程可以执行进程的任何代码段,且线程的运行是由系统调度自动完成的,具有一定的不确定性,因此就有可能出现两个线程同时对磁盘驱动器进行操作,从而出现操作错误;又例如,对于银行系统的计算机来说,可能使用一个线程来更新其用户数据库,而用另外一个线程来读取数据库以响应储户的需要,极有可能读数据库的线程读取的是未完全更新的数据库,因为可能在读的时候只有一部分数据被更新过。-thread s
RWLock_Prj
- 多线程程序中一个比较好用的读写同步类,使用CRITICAL_SECTION和事件来实现。-multithreaded process a better quality of reading and writing simultaneously category, use CRITICAL_SECTION and events to be achieved.
IOtest_Multithread
- 多线程的一个例子:一边读写盘,一边显示进度-multithreaded an example : reading and writing side dishes, side shows progress
Myctrl
- ctr-del-alt就能看到系统的进程,你是否也想在你的程序中显示出来呢?看完这个代码你在可以轻松在ABOUT中显示出来,不用再显示什么磁盘的容量等信息了,换个花样吧-ctr - del-alt system will be able to see the process, do you also think your procedures are displayed? Reading the code you can relax in ABOUT revealed, no longer sh
TwoThread
- 编写一个多线程程序(两个线程),一个线程向列表控件中插入数据,一个读取并显示列表控件中的数据,显示完后删除已显示的数据。(显示的方式可以以对话框的方式显示),在读删数据时要注意线程的互斥。-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
RWCriticalSection_src
- 一种可以利用它来实现线程安全读写控制的模型,可以在vc下编译运行。-one can use it for reading and writing threaded control of the security model, the compiler running under vc.
ckaar.zip
- 使用ntdll.dll中未公布的函数实现的资源读写加锁的例子,An example of realising resource lock of reading and writing by using unpublished function in ntdll.d
multi-threaded
- vb的多线程例子,给大家参考,我看了后很有启发。-vb examples of multi-threaded, for your reference, I am very inspired after reading.
sockettest
- 为了帮助大家学习多线程和socket我学了一个教学程序。里面的代码注释很详细,看了一定懂。看完会对多线程和socket有一个初级的了解-To help you learn multi-threading and socket I learned a teaching program. Very detailed comments inside the code, looked certain to understand. After reading many threads and socket
multithreadingapplicationsinWin32
- win32多线程编程技术完全手册。中国人翻译的外国经典之作,是想在多线程编程领域有所发展的人不妨一读-win32 multithreaded programming completely manual. Chinese translations of foreign classics, in multi-threaded programming is to be developed in the field who may wish to first reading
CPlus-MultiThread-OOProgram
- c++ 面向对象多线程编程 高画质阴影版 内附阅读工具UnicornViewer.exe-c++ object-oriented multi-threaded version of the shadow of high-definition programming tools included reading UnicornViewer.exe
MultiThreadEventEx
- vs2008 操作,多线程 读写者 问题 事件操作-Vs2008 operation, the reading and writing multi-threaded problem event operations
idfind
- 任务旨在强化线程编程能力,对并行所带来的性能优势有直观的认识。 在阅读大型项目代码时,经常要搜索某个标识符,找出该标识符的声明、定义或引用的地方(某文件的哪一行)。本任务要求实现一个程序idfind,其使用格式如下: idfind [-j n] id dirname 选项 -j 指定并行线程数目。如果省略该选项,则只启动一个线程。 id表示要查找的标识符,dirname表示项目所在目录。-Task is to strengthen the ability of progra