-
看一下UNIX系统中的进程和Mach的任务和线程之间的关系。在UNIX系统中,一个进程包括一个可执行的程序和一系列的资源,例如文件描述符表和地址空间。在Mach...
看一下UNIX系统中的进程和Mach的任务和线程之间的关系。在UNIX系统中,一个进程包括一个可执行的程序和一系列的资源,例如文件描述符表和地址空间。在Mach中,一个任务仅包括一系列的资源;线程处理所有的可执行代码。一个Mach的任务可以有任意数目的线程和它相关,同时每个线程必须和某个任务相关。和某一个给定的任务相关的所有线程都共享任务的资源。这样,一个线程就是一个程序计数器、一个堆栈和一系列的寄存器。所有需要使用的数据结构都属于任务。一个UNIX系统中的进程在Mach中对应于一个任务和一个单独的线程。
-look at the UNIX System and the process of Mach"s mandate and the relationship between the threads. In UNIX systems, a process includes an executable program and a range of resources, such as file descriptors table and address space. In Mach, a task only a series of resources; Threads handle all the executable code. A Mach task can have any number of threads and its associated, and each one must thread related tasks. And to a certain set of tasks related to the threads are sharing all the resources. Thus, a thread is a program counter, a stack, and a series of registers. All need to use the data structures are covered by the mandate. A UNIX system in the process of Mach which corresponds to a mandate and a separate thread.
- 2022-12-05 01:30:03下载
- 积分:1
-
多线程程序,多线程应用程序很容易发生。互斥对象…
多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编写网络聊天室程序。-multithreaded program, multithreaded applications easily occur. Mutex object on how to use mutex object to the multi-thread synchronization. How to use object named mutex to ensure only one application program running examples. Application multithreaded network chat room preparation procedures.
- 2022-01-26 05:26:47下载
- 积分:1
-
进程通信的客户端程序
进程通信的客户端程序-an client program of communication between processes
- 2022-02-04 08:04:57下载
- 积分:1
-
win32线程池代码, 可用于win98/nt/200
win32线程池代码, 可用于win98/nt/200 -win32 code can be used win98/nt/200
- 2023-04-23 12:15:02下载
- 积分:1
-
简单封装线程操作的C++类,需要派生才能使用。
简单封装线程操作的C++类,需要派生才能使用。-Simple to operate package thread C++ class, the need to use derivatives.
- 2022-02-27 07:42:47下载
- 积分:1
-
use of the system on which the thread is being executed
利用api获得系统中正在执行的线程-use of the system on which the thread is being executed
- 2022-08-12 08:03:09下载
- 积分:1
-
优秀的密码查看器
优秀的密码查看器-outstanding password viewer
- 2023-02-01 22:25:04下载
- 积分:1
-
单处理机调度包括时间片轮转法,短作业优先算法,动态优先算法。...
单处理机调度包括时间片轮转法,短作业优先算法,动态优先算法。- The single processor dispatch rotates the law including the
time piece, short work first algorithm, dynamic first algorithm.
- 2022-01-25 16:29:21下载
- 积分:1
-
使用共享内存通讯的程序例子
使用共享内存通讯的程序例子-the demo of communication using shared memory
- 2023-05-18 08:00:03下载
- 积分:1
-
readers of this program
本程序实现读者-写者问题.采用WINDOWS API实现.有比较详细的程序说明-readers of this program- writing problem. Using Windows API. A more detailed description of the procedures
- 2022-10-13 07:10:03下载
- 积分:1