登录
首页 » Visual C++ » r_w

r_w

于 2013-12-30 发布 文件大小:1144KB
0 235
下载积分: 1 下载次数: 1

代码说明:

  利用线程同步实现读者和写者的问题,使用信号量来控制(reader and writer)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • idonot
    多线程编程,线程同步,是编写线程,特别是多线程的好资料(Multi-threaded programming, thread synchronization, is to write a thread, especially multi-threaded good information)
    2015-03-09 18:08:43下载
    积分:1
  • jinchengdiaodu
    模拟进程在静态优先级算法下的调度过程 算法选择:静态优先级。(Simulation process under static priority scheduling algorithm algorithm selection process: static priority.)
    2010-06-02 18:27:23下载
    积分:1
  • Cpp1
    多线程求卷积1)数据矩阵:256*256 –原始矩阵设置:随机50个点设置为255,其余为0 2)卷积核:5*5 –明确注明所设计的卷积核 3)迭代次数:100 –每5次迭代保存一次数据矩阵 –通过20个结果矩阵,生成动画 初始矩阵随机生成,随机分配50个数的值为255(Multithreading convolution 1) Data Matrix: 256* 256- the original matrix settings: a randomized 50-point set to 255, the rest is 02) convolution kernels: 5* 5- convolution kernel designed specifically stated 3) Iterations: 100- once every five iterations save data matrix- matrix results through 20, randomly generated initial matrix generated animation, randomly assigned number is 255 50)
    2014-03-27 21:51:13下载
    积分:1
  • multithread-chatting-room
    多线程程序的编写,多线程应用中容易出现的问题。互斥对象的讲解,如何采用互斥对象来实现多线程的同步。如何利用命名互斥对象保证应用程序只有一个实例运行。应用多线程编 写网络聊天室程序(Multithreaded program, multithreaded applications easily arise. Mutex object to explain how to use mutex object to realize multi-thread synchronization. How to use named mutex object to ensure that only one instance of the application running. Multithreaded applications compiled Write Internet chat room procedures)
    2013-10-26 22:22:52下载
    积分:1
  • etor
    The upsampling, Dct the upper sampling of the video of video in dct domain
    2018-11-25 20:33:09下载
    积分:1
  • EventThread
    使用事件对象进行线程间的通信EventThreadEventThread.rar,很不错的vc源码,有兴趣的朋友可以看看。(Use the event object for inter-thread communication EventThread EventThread.rar, very good vc source, interested friends can see.)
    2011-09-15 22:54:04下载
    积分:1
  • processDispatch
    进程调度模拟程序:假设有10个进程需要在CPU上执行,分别用:  1.先进先出调度算法;  2.基于优先数的调度算法;  3.最短执行时间调度算法 确定这10个进程在CPU上的执行过程。要求每次进程调度时在屏幕上显示:  1.当前执行进程;  2.就绪队列;  3.等待队列 附:此程序可直接运行,是操作系统课的经典实验. (scheduling process simulation program : Suppose a 10 CPU in the process of implementation, respectively :)
    2021-05-07 04:28:36下载
    积分:1
  • banker
    银行家算法是避免死结(Deadlock)的一个著名的算法,是由艾兹格·迪杰斯特拉在1965年为T.H.E系统设计的一种避免死结产生的算法。它以银行借贷系统的分配策略为基础,判断并保证系统的安全运行。(Banker' s algorithm is to avoid deadlock (Deadlock), a well-known algorithm, by艾兹格迪杰Stella in 1965 for the THE system design to avoid the deadlock created a kind of algorithms. It is the bank lending system, allocation strategy based on judgments and to ensure the safe operation of the system.)
    2009-11-16 10:40:32下载
    积分:1
  • onrjy
    实现操作系统时间片的优先级调度和轮转调度,不错的源码(Implement priority scheduling time slice of the operating system and rotation scheduling, good source)
    2017-06-17 14:35:14下载
    积分:1
  • vb-multithread
    一个vb多线程编程实例,能够设置线程优先级,已经调试能够执行。(a multithreaded programming examples threads will be able to set priorities, debugging can be implemented.)
    2005-03-16 13:28:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载