-
threading of a good example, we may s
这是一个简单的多线程的好例子,大家不妨参考一下
- 2022-07-24 20:28:52下载
- 积分:1
-
如果用CWinThread好一点,直接是一个线程对象,如果用AfxBeginThread,实现了这个类,来所简化多线程的创建和关闭的操作。...
如果用CWinThread好一点,直接是一个线程对象,如果用AfxBeginThread,实现了这个类,来所简化多线程的创建和关闭的操作。-If CWinThread better direct object is a thread, if AfxBeginThread, realize this category, to simplify the creation of multi-threading on and off operation.
- 2023-03-28 20:45:04下载
- 积分:1
-
使CPU利用率为100%
当为双核是运行两个实例即可
使CPU利用率为100%
当为双核是运行两个实例即可-So that CPU utilization was 100 when running for the dual-core is two examples can be
- 2022-07-17 22:50:04下载
- 积分:1
-
软件简介:多线程局域网扫描组件,参考了几位虾米的代码,然后进行多线程封装.速度还可以,能在三妙内扫描完毕 0.0 至 0.255 IP段....
软件简介:多线程局域网扫描组件,参考了几位虾米的代码,然后进行多线程封装.速度还可以,能在三妙内扫描完毕 0.0 至 0.255 IP段.-software description : multithreading LAN scanning components, several shrimp reference to the code, then multithreading package. Speed can also capable of scanning within three Miao finished 0.0-0.255 of IP.
- 2022-05-17 23:26:31下载
- 积分:1
-
利用CEvent实现多线程同步
利用CEvent实现多线程同步-CEvent use synchronous multi-threaded
- 2023-04-12 08:20:04下载
- 积分:1
-
一个多线程编程的好例子,同时有文档可以参考,非常不错
一个多线程编程的好例子,同时有文档可以参考,非常不错-A multi-threaded programming, a good example, while there is a document to refer to very good
- 2022-02-04 19:10:18下载
- 积分:1
-
delphi屏蔽win键和任务管理器。初学Delphi,练习一下。用的是Dll和修改windows的键值...
delphi屏蔽win键和任务管理器。初学Delphi,练习一下。用的是Dll和修改windows的键值-delphi shielding win keys, and task management device. Beginners Delphi, practice. Dll use the windows and change the keys
- 2023-02-09 19:30:04下载
- 积分:1
-
一个多线程编程源码
一个多线程编程源码-A multi-threaded programming source
- 2022-11-16 18:25:04下载
- 积分:1
-
windows nt serivce code
windows nt serivce code
- 2023-01-08 01:40:04下载
- 积分:1
-
two experimental operating system : the process of scheduling strategy to achiev...
操作系统实验2:进程调度策略的模拟实现
1、 设计一个有 N个进程共行的进程调度程序。
2、 每个进程有一个进程控制块PCB来表示,进程控制块的格式为:
进程名
优先数
到达时间
需要运行时间
已占用CPU时间
进程状态
a) 进程优先数、需要运行时间、到达时间可以事先人为地指定,也可以随机产生,注意初始化上述数值时要尽量使进程并发执行,而不是按到达时间顺序调度。
b) 进程的运行时间以时间片为单位进行计算。
c) 进程状态分为就绪、运行、完成三种状态之,分别用W、R、F表示。
3、 进程调度规则如下:
a) 就绪进程获得 CPU后都只能运行一个时间片。用已占用CPU时间加1来表示。
b) 如果运行一个时间片后,进程已占用 CPU时间达到所需要运行时间,则进程完成,撤销该进程。
c) 如果运行一个时间片后,进程已占用CPU时间还未达到所需要运行时间,即进程需要继续运行,将它插入就绪队列,队列重新排序,等待CPU。
d) 重复以上过程,直到所要进程都完成为止。
-two experimental operating system : the process of scheduling strategy to achieve a simulation. Design is a process of a total of N the process scheduler. 2, each process is a process control block to PCB said that the process control block format : process a few who arrived at the priority needs time to time running CPU time a state process) process priority number. need to run time, arriving in time prior to artificially designated, can also randomly generated, Initialization attention to the above values are to m
- 2022-02-20 17:25:28下载
- 积分:1