-
使用IOCP实现的线程池管理,对线程很多的情况有用
使用IOCP实现的线程池管理,对线程很多的情况有用- Uses line regulation pond management which IOCP realizes, is
useful to line regulation very many situations
- 2022-03-16 21:18:22下载
- 积分:1
-
Mutex lock package categories, well
Mutex锁的封装类,设计精良,初学者必看-Mutex lock package categories, well-designed, beginners must-see
- 2022-06-19 15:43:09下载
- 积分:1
-
vc a brief multi
vc多线程编程简单介绍,有个实例介绍的录像。-vc a brief multi-threaded programming, a video examples.
- 2022-03-29 22:41:47下载
- 积分:1
-
定时器使用的注意事项,定时器处理函数的运行时间大于定时时长会造成不响应,KillTimer()可以杀掉消息队列中的多个相同标号的消息。...
定时器使用的注意事项,定时器处理函数的运行时间大于定时时长会造成不响应,KillTimer()可以杀掉消息队列中的多个相同标号的消息。-timer matters to the attention of use, timer handling functions of the running time than regular long time will not respond KillTimer () Message Queue can kill the same number of label information.
- 2022-03-21 08:21:27下载
- 积分:1
-
一个线程程序,通过信号量来同步几个同时运行的线程.
一个线程程序,通过信号量来同步几个同时运行的线程.- A line regulation procedure, comes the line regulation the
proceed signal quantity which synchronized several simultaneously
moves
- 2023-06-15 07:30:03下载
- 积分:1
-
鼠标输入编程演示程序
鼠标输入编程演示程序-mouse input programming Demonstration Program
- 2022-02-13 14:15:47下载
- 积分:1
-
使用多线程和共享内存技术解决生产者消费都问题的示例
使用多线程和共享内存技术解决生产者消费都问题的示例-The use of multi-threaded and shared-memory technology to solve the producer consumer problem are examples of
- 2022-08-26 09:46:23下载
- 积分: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
-
使用 ISAPI Filter 实现的限制 IIS 多线程访问程序。
主要应用在下载系统,或者使用 IIS 做的流媒体点播系统中,稍加修改可以使其具有认证功...
使用 ISAPI Filter 实现的限制 IIS 多线程访问程序。
主要应用在下载系统,或者使用 IIS 做的流媒体点播系统中,稍加修改可以使其具有认证功能。在程序中已经对 用户认证 事件做了直接返回的处理。
使用本 Filter 可以很容易的获得服务器的连接数,从而可以实现多个服务器的负载平衡(可以把请求分发到连接较少的一个服务器上)。
可以对访问的有效控制,可以自定义无限制用户IP,限制用户的IP。
从而可以实现对某个IP的限制数不限制,或者对某个IP的封杀-Restrictions on the use of ISAPI Filter to achieve IIS multi-threaded access to the program. Main application in the download system, or use IIS to do the streaming media on-demand system, slightly modified to give it authentication. In the user authentication process has already done a direct return to processing. Use the Filter can be easily access the server connections, allowing multiple servers to achieve load balancing (which can be distributed to the request to connect to a fewer server). Access can be effectively controlled, you can customize unlimited users IP, restrictions on the user" s IP. Which can be achieved on a certain IP restriction does not limit the number of, or an IP-block
- 2022-03-18 08:07:23下载
- 积分: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