登录
首页 » Linux-Unix program » 读者

读者

于 2022-05-07 发布 文件大小:1.77 kB
0 172
下载积分: 2 下载次数: 1

代码说明:

读者-写者问题的读写操作限制(包括读者优先和写者优先) 写-写互斥:不能有两个写者同时进行写操作 读-写互斥:不能同时有一个线程在读,而另一个线程在写。 读-读允许:可以有一个或多个读者在读。-Readers- read and write operations to write the problem of constraints (including the readers of priority and writing preferred) Write- write mutually exclusive: You can not have two writers write the same time Read- Write mutually exclusive: You can not simultaneously reading a thread while another thread is writing. Reading- Reading allowed: You can have one or more readers to read.

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

发表评论

0 个回复

  • 在树下的命令下,用窗口,更强大!1、树
    Linux下的tree命令,同window,功能更强大! 1、下载tree-1.5.1.1源程序 2、解压源码到工作目录tar zxvf tree-1.5.1.1.tgz 3、在tree-1.5.1.1目录交叉编译:make CC=arm-linux-gcc 4、安装:make prefix=/home/xxxx/rootfs install Ubuntu下 直接 apt-get install tree 即可安装最新的tr-Linux under the tree order, with the window, more powerful! 1, tree-1.5.1.1 source code download 2, extract the source to the working directory tar zxvf tree-1.5.1.1.tgz3, in the tree-1.5.1.1 directory cross compiler: make CC = arm-linux-gcc4, install: make prefix =/home/xxxx/rootfs installUbuntu directly under the apt-get install tree to install the latest tr
    2022-07-08 04:26:28下载
    积分:1
  • 本代码文件是S3C44B0X板的测试程序,包括汇编初始化文件和C语言测试代码。...
    本代码文件是S3C44B0X板的测试程序,包括汇编初始化文件和C语言测试代码。-The code file is S3C44B0X plate test procedures, including the compilation of documents and C language to initialize test code.
    2022-07-09 09:07:12下载
    积分:1
  • 在Linux测试共享共享内存消息
    在Linux测试共享共享内存消息-testing Linux in shared memory sharing information
    2022-06-22 05:12:26下载
    积分:1
  • 是关于linux2.5.1的完全源码
    是关于linux2.5.1的完全源码- Is about the linux2.5.1 complete source code
    2023-06-15 06:08:27下载
    积分:1
  • TRACE的源代码,在LINUX调试程序要使用的.
    TRACE的源代码,在LINUX调试程序要使用的.-TRACE
    2023-01-09 08:55:03下载
    积分:1
  • 嵌入式Qt下的一个计算器源码,很好使,没有科学计算功能
    嵌入式Qt下的一个计算器源码,很好使,没有科学计算功能-Qt embedded under a calculator source code, so good, there was no scientific computing
    2023-04-12 07:25:03下载
    积分:1
  • completion of the following non
    完成ls的如下功能 不带参数的ls:列出当前目录下的非隐藏(文件和目录名不以.开头)的文件和目录 ls -a:列出当前目录下的所有文件和目录 ls -l:以长列表形式列出当前目录下的非隐藏的文件和目录。每个文件或目录只要求列出如下信息:类型与权限、文件名、链接数、用户ID、组ID、字节大小、块数 ls 路径名:如果路径名代表一个存在的文件则显示该文件,否则提示出错;如果路径名字代表一个存在的目录则列出该目录中的文件 列出文件名和目录名时,要求可执行文件最后加上一个*号,目录名最后加上一个/号。 所提供的路径名可以包含“.”,“..”,“~”等特殊目录-completion of the following non-functional parameters of ls : listed in the current directory-hidden (files and directories were not. Beginning) of files and directories ls-a : listed in the current directory of all files and directories ls-l : in the long list of current directory listed under the non-hidden possession of files and directories. Each file or directory only asked to list the following information : the type and competence, file name, number of links, the user ID and group ID, byte size, a few blocks ls path : If a path representatives of the document showed documents suggest otherwise error; If representatives of a path name the presence of the directory lists the directory lists the
    2023-02-01 23:40:04下载
    积分:1
  • 红外线操作系统
    linux操作系统下的红外驱动的测试程序,对在linux下红外驱动的同行很有帮助。-linux operating system of infrared-driven testing procedures in the infrared driver under linux peer helpful.
    2022-05-06 00:36:13下载
    积分:1
  • 使用消息队列的例子
    使用消息队列的例子 -The example for using message q
    2023-07-28 16:15:02下载
    积分:1
  • linux thread example
    linux线程例子-linux thread example
    2022-07-26 13:56:31下载
    积分:1
  • 696518资源总数
  • 106245会员总数
  • 18今日下载