-
好好
好好-good
- 2022-07-07 01:34:49下载
- 积分:1
-
在Windows 2000/XP/2003环境下,创建一个包含N个线程的控制台进程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的...
在Windows 2000/XP/2003环境下,创建一个包含N个线程的控制台进程。用这n个线程来表示n个读者或写者。每个线程按相应测试数据文件(后面有介绍)的要求进行读写操作。用信号量机制分别实现读者优先和写者优先的读者一写者问题。-Windows 2000/XP/2003 environment, the creation of an N threads include the console process. Use of these n threads to express n readers who write. Each thread according to the corresponding test data files (with a) on the request and write. Using signal mechanism volume respectively priority and the readers who wrote a priority of readers wrote persons.
- 2022-01-25 16:06:10下载
- 积分:1
-
信号灯实现多线程控制例子。
信号灯实现多线程控制例子。-signal multi-threaded control examples.
- 2022-03-21 08:25:47下载
- 积分: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
-
multithreaded copy files, it can become 2.0 USB1.1, an eye
多线程的文件复制,可以把usb1.1变成2.0,值得一看-multithreaded copy files, it can become 2.0 USB1.1, an eye-catcher
- 2022-01-26 00:05:52下载
- 积分:1
-
使用PSAPI实现工艺信息显示系统
利用psapi实现的显示系统进程信息-use psapi achieve process information display system
- 2022-09-09 14:15:03下载
- 积分:1
-
编写一个多线程程序(两个线程),一个线程向列表控件中插入数据,一个读取并显示列表控件中的数据,显示完后删除已显示的数据。(显示的方式可以以对话框的方式显示),在...
编写一个多线程程序(两个线程),一个线程向列表控件中插入数据,一个读取并显示列表控件中的数据,显示完后删除已显示的数据。(显示的方式可以以对话框的方式显示),在读删数据时要注意线程的互斥。-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 after the deletion of the data has shown. (Display in the form of the dialog box shown), in Reading censored data to the attention of mutually exclusive threads.
- 2022-02-04 00:50:12下载
- 积分:1
-
一个很好的多线程控制的程序,可以随鼠标的移动画圆,同时可以占用window的空闲线程...
一个很好的多线程控制的程序,可以随鼠标的移动画圆,同时可以占用window的空闲线程-a good multi-threaded control procedures, which can be mobile Circle mouse, the window could occupy idle threads
- 2023-07-07 20:20:02下载
- 积分:1
-
VC中终止其他进程的引用文件,用Include应用后就可以直接调用。...
VC中终止其他进程的引用文件,用Include应用后就可以直接调用。-VC in the termination of other processes cited documents Include the application after use can be directly called.
- 2022-03-10 11:13:22下载
- 积分:1
-
用vb.net编写的的实践多线程池的简单例子
用vb.net编写的的实践多线程池的简单例子-using vb.net prepared by the practice pool multithreading simple example
- 2022-05-11 02:17:24下载
- 积分:1