登录
首页 » Visual C++ » r_w

r_w

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

代码说明:

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

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

发表评论

0 个回复

  • mappings
    功能是仲裁访问的互斥体,包含创建数据文件,创建仲裁的互斥体,根据文件创建100个线程来读写,关闭对象(Function is to arbitrate access mutex,Includes creating a data file, create a mutex arbitration, creates 100 threads to read and write in the paper, close the object)
    2014-04-23 14:51:26下载
    积分:1
  • linjiequ
    用软件方法解决上述临界区问题—兄弟。即要求修改sm6,实现accnt1+accnt2 提交的程序名:ex2 采用的算法可选择: –Peterson算法:(Solving these critical problems by using software method . That requires modifications to the sm6 implementation of accnt1+accnt2, the program name- submit: ex2 The algorithm can choose: Peterson algorithm:)
    2020-11-01 19:49:55下载
    积分:1
  • hoader
    多窗口编程,将不同控件显示在不同窗口,可以进行窗口切换()
    2018-04-09 11:17:13下载
    积分: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
  • bjeadth-command
    Exercise_editor Edit the shortcut key
    2018-11-26 00:31:58下载
    积分: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
  • scan
    端口扫描 多线程实现 使用的是VC++语言,有vs2010调试并测试成功(Port scan)
    2013-03-29 17:53:02下载
    积分:1
  • 线串口
    多线程串口程(multithread serial way)
    2005-04-03 10:16:44下载
    积分:1
  • thread
    运行程序,单击“启动线程”按钮,程序将启动一个线程,线程将进行数值计算,并将结果发送给主窗口;单击“挂起线程”按钮,线程将挂起;单击“恢复线程”按钮,线程将恢复。(Run the program, click" start the thread" button, the program will start a thread, the thread will make numerical computation, and sends the result to the main window click" thread hang" button, the thread will be suspended click on" restore thread" button, the thread will recover.)
    2011-08-07 12:37:50下载
    积分:1
  • pai
    多线程计算π的程序源码 可以直接编译运行 采用了windows的多线程(Multi-threaded computation of π can directly compile and run the program source using multi-threaded windows)
    2011-04-26 21:35:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载