-
此为操作系统实验:进程同步机制的模拟实现. 报告中有 程序流程图 解题思路 部分主要源码等!! 简介:进程是程序在一个数据集合上运行的过程,进程是并发执行的,也...
此为操作系统实验:进程同步机制的模拟实现. 报告中有 程序流程图 解题思路 部分主要源码等!! 简介:进程是程序在一个数据集合上运行的过程,进程是并发执行的,也即系统中的多个进程轮流地占用处理器运行。 我们把如干个进程都能进行访问和修改地那些变量成为公共变量。由于进程是并发执行的,所以,如果对进程访问公共变量不加限制,那么就会产生“与时间有关”的错误,即进程执行后,所得到的结果与访问公共变量的时间有关。为了防止这类错误,系统必须要用同步机构来控制进程对公共变量的访问。一般说,同步机构是由若干条原语――同步原语――所组成。本实验要求学生模拟PV操作同步机构的实现,模拟进程的并发执行,了解进程并发执行时同步机构的作用。-operating system for this experiment : the process synchronization mechanism Simulation. A report flowchart Oklahoma as part of the main source! ! Description : The process is procedural in a data set on the process of operation, the process is complicated by the implementation of the system that is the number of rotation process to deal with occupation Operation. We can process of stem out for a visit and to amend those variables as public variables. As the process is complicated by the implementation, so if the right to visit public process variables without restrictions, it will have a "Time" is wrong, the implementation process, the results obtained with the public
- 2022-03-22 10:41:28下载
- 积分:1
-
这个程序是用SDK写的,很有意义,只不过一般人看不懂,现在没几能用SDK了...
这个程序是用SDK写的,很有意义,只不过一般人看不懂,现在没几能用SDK了-the procedure is written with the SDK, interesting, but most people do not understand, right now the SDK can be used for
- 2022-03-09 21:39:09下载
- 积分:1
-
用VC写的启动并可控制其他EXE程序的应用程序
用VC写的启动并可控制其他EXE程序的应用程序-VC can start writing the other EXE process control applications
- 2022-08-19 14:15:18下载
- 积分:1
-
线程的同步
虽然多线程能给我们带来好处,但是也有不少问题需要解决。例如,对于像磁盘驱动器这样独占性系统资源,由于线程可以执行进程的任何代码段,且线程的运...
线程的同步
虽然多线程能给我们带来好处,但是也有不少问题需要解决。例如,对于像磁盘驱动器这样独占性系统资源,由于线程可以执行进程的任何代码段,且线程的运行是由系统调度自动完成的,具有一定的不确定性,因此就有可能出现两个线程同时对磁盘驱动器进行操作,从而出现操作错误;又例如,对于银行系统的计算机来说,可能使用一个线程来更新其用户数据库,而用另外一个线程来读取数据库以响应储户的需要,极有可能读数据库的线程读取的是未完全更新的数据库,因为可能在读的时候只有一部分数据被更新过。-thread synchronization Although multithreading can bring us benefits, but there a lso many problems to be solved. For example, as disk drives such exclusivity system resources and can thread the process of implementation of any code, and the thread running by the scheduling system automatically and to a certain extent the uncertainty, So, then there could be two threads while the disk drives operate, which have operational errors; For example, For the computer banking system, may use a thread to update users of its database, and use another thread to read a database to respond to the needs of depositors, Reading is very likely to read threads database is not fully update the database, Reading may be because the time was only part of the updated dat
- 2022-03-26 17:09:07下载
- 积分:1
-
多线程编程,异步操作实例,如Mutex等
多线程编程,异步操作实例,如Mutex等-Multi-threaded programming, examples of asynchronous operation, such as Mutex, etc.
- 2023-07-26 10:30:04下载
- 积分:1
-
windows message processing programming code, a simple message handling mechanism...
windows消息处理编程代码,简单的实现消息处理机制-windows message processing programming code, a simple message handling mechanism realize
- 2022-05-28 14:48:27下载
- 积分:1
-
simulation creation process (to establish a record type data structure PCB) : th...
模拟创建进程(建立一个记录型数据结构PCB):给出进程标识、状态、到达时间、运行时间等用先来先服务调度算法进行模拟实现-simulation creation process (to establish a record type data structure PCB) : the process of identification is given, state, arrival time, the time spent running a first-come first-service scheduling algorithm Simulation
- 2022-07-27 22:06:40下载
- 积分:1
-
线程库最新实现,在linux/unix上实现了创建用户态线程,使得开发多线程更加容易。...
线程库最新实现,在linux/unix上实现了创建用户态线程,使得开发多线程更加容易。-threads for the latest achievement in linux/unix achieved users to create state-threaded, making the development of multi-threaded easier.
- 2022-06-01 11:41:34下载
- 积分:1
-
一个VB写的可以取得任意带焦点的对象详细信息的代码.具体可以取得对象句柄,类型,标题名称,在在桌面上的位置,对象大小等信息 另外还可以控制对象,如果是应用程序还...
一个VB写的可以取得任意带焦点的对象详细信息的代码.具体可以取得对象句柄,类型,标题名称,在在桌面上的位置,对象大小等信息 另外还可以控制对象,如果是应用程序还可以把它当作子窗体装载到里面来!反正功能还很多,有兴趣的可以下去慢慢看吧-Write a VB can be achieved with the focus of any detailed information of the object code. Specific object can handle, type, title name, in the desktop position, object size and other information also can control the object, if the application also can treat it as a sub-form to the inside to load! anyway functions are still many who are interested can go slowly and see
- 2022-03-19 22:55:45下载
- 积分:1
-
进程管理软件,相当好用!
大家快来下啊 功能非常强大,
进程管理软件,相当好用!
大家快来下啊 功能非常强大,-process management software, very useful! We Come under ah is very powerful,
- 2022-04-26 17:28:26下载
- 积分:1