文件名称:Philosophers
介绍说明--下载内容均来自于网络,请自行研究使用
哲学家进餐问题,进程是独立参与分配资源的最小单位,在有线程的OS中,线程是运行的最小单位,
课堂所述进程之间的同步与互斥,实际上是属于不同进程的线程间的同步与互斥,当
然,属于同一进程的不同线程一样存在同步与互斥,其控制同步与互斥的原理跟进程
是一样的-dining philosophers problem, the process is independent participation in the allocation of resources as the smallest unit, in the OS thread, thread is the smallest unit of operation, the process described in the classroom between the synchronization and mutual exclusion. actually belong to different threads in the process of synchronization and mutual exclusion, of course, the same process there is a different thread synchronization and mutual exclusion, control and coordinate the process with the principle of the same
课堂所述进程之间的同步与互斥,实际上是属于不同进程的线程间的同步与互斥,当
然,属于同一进程的不同线程一样存在同步与互斥,其控制同步与互斥的原理跟进程
是一样的-dining philosophers problem, the process is independent participation in the allocation of resources as the smallest unit, in the OS thread, thread is the smallest unit of operation, the process described in the classroom between the synchronization and mutual exclusion. actually belong to different threads in the process of synchronization and mutual exclusion, of course, the same process there is a different thread synchronization and mutual exclusion, control and coordinate the process with the principle of the same
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Philosophers.cpp