搜索资源列表
VBThreads_[2006-06-14_2308]
- === === === === === === === ==== Zarr s VB Website http://www.zarr.net/vb === === === === === === === ==== This sample piece of VB code has come from Zarr s VB Website at http://www.zarr.net/vb Zarr s VB Website is one of the Internet s
sx
- 操作系统中进程同步的问题,生产者-消费者模型的代码 在同一个进程地址空间内执行的两个线程。生产者线程生产物品, 然后将物品放置在一个空缓冲区中供消费者线程消费。消费者线 程从缓冲区中获得物品,然后释放缓冲区。当生产者线程生产物 品时,如果没有空缓冲区可用,那么生产者线程必须等待消费者 线程释放出一个空缓冲区。当消费者线程消费物品时,如果没有 满的缓冲区,那么消费者线程将被阻塞,直到新的物品被生产出 来。 -Operating systems pr
