资源列表
[进程与线程] 1330
说明:本例子讲解了线程的各种基本操作,包括创建线程、挂起线程、唤醒线程、终止线程功能。程序简单,一看就会明白。(注意:这个例子主要是针对初学者的) -This example to explain the basic operation of various threads, including the creation of threads, thread hang, wake-up threads, thread terminatio<zhangliang> 在 2025-02-14 上传 | 大小:57kb | 下载:0
[进程与线程] multithreading_file_search
说明:本程序实现一个多线程的文件快速搜索。在通常的操作系统中,比如Windows 2000,都提供了文件搜索功能,但采用的是顺序搜索,搜索效率较低。在本程序中,使用多线程的搜索技术,可以明显提高搜索效率。 本程序主要用到以下函数: //找到指定目录下的第一个文件 HUNDLE FindFirstFile(LPCTSR lpFileName,LPWIN32_FIND_DATA lpFindFileData) //找到指定目录下的<郭小川> 在 2025-02-14 上传 | 大小:30kb | 下载:0
[进程与线程] systeminfo111111113
说明:查看系统信息使用WMI。 界面跟WINDOWS的任务管理器很相似。功能比较完美。-Show system information using WMI. WINDOWS interface with the Task Manager is very similar. Functions perfectly.<> 在 2025-02-14 上传 | 大小:33kb | 下载:0
[进程与线程] 200652619472986557
说明:进程调度算法演示,程序中含有一些对控制台输出和事件进行控制的API函数。-Process scheduling algorithm demo, the program contains some of the console output and the control of the incident API function.<lq> 在 2025-02-14 上传 | 大小:10kb | 下载:0
[进程与线程] 2006527168
说明:程序是操作系统中比较典型的线程同步算法中的哲学家进餐问题,为防止死锁,采取了两个条件(筷子空闲)同时满足时再允许进餐的办法来解决。-Procedure is a typical operating system thread synchronization algorithm in the dining philosophers problem, in order to prevent deadlock and take the two<lq> 在 2025-02-14 上传 | 大小:512kb | 下载:0