搜索资源列表
进程和线程
- 看一下UNIX系统中的进程和Mach的任务和线程之间的关系。在UNIX系统中,一个进程包括一个可执行的程序和一系列的资源,例如文件描述符表和地址空间。在Mach中,一个任务仅包括一系列的资源;线程处理所有的可执行代码。一个Mach的任务可以有任意数目的线程和它相关,同时每个线程必须和某个任务相关。和某一个给定的任务相关的所有线程都共享任务的资源。这样,一个线程就是一个程序计数器、一个堆栈和一系列的寄存器。所有需要使用的数据结构都属于任务。一个UNIX系统中的进程在Mach中对应于一个任务和一个单
DataStructuresandAlgorithms
- 主要描述了多任务下数据结构与算法的设计和运用-Mainly describes the mission of many data structures and algorithm design and the use of
producerandconsumer
- 生产者-消费者问题: *设置两类线程,一类为生产者,一类为消费者; *设置生产者消费者数据结构; *使用菜单随机启动生产者或消费者; *在窗口上显示生产者或消费者的执行状态; *随着线程的执行,更新窗口的显示。 -Producer- Consumer problem:* Set up two threads, a category for producers, a category of consumers * Set up producers and consumers
yin-hang-jia-suan-fa
- Dijkstra提出的银行家算法,是最具代表性的避免进程死锁的算法,本程序用相应的数据结构和算法实现银行家算法-Dijkstra' s bankers algorithm, is the most representative of the process to avoid deadlock algorithm, the program with the appropriate data structures and algorithms Algorithm bankers
Project1
- 哈工大数据结构实验使用到的各种数据结构,从跳表到AVL树-HIT experimental data structure using a variety of data structures, jumping table to AVL tree