登录
首页 » 文件处理 » 模拟进程利用双向邮箱通信 随机生成一个邮箱,两个进程利用该邮箱相互通信,信息的大小与邮箱的大小相同。哪一个进程为发送进程,哪一个进程为接收进程是随机的,由随机函...

模拟进程利用双向邮箱通信 随机生成一个邮箱,两个进程利用该邮箱相互通信,信息的大小与邮箱的大小相同。哪一个进程为发送进程,哪一个进程为接收进程是随机的,由随机函...

于 2023-01-04 发布 文件大小:1.28 kB
0 107
下载积分: 2 下载次数: 1

代码说明:

模拟进程利用双向邮箱通信 随机生成一个邮箱,两个进程利用该邮箱相互通信,信息的大小与邮箱的大小相同。哪一个进程为发送进程,哪一个进程为接收进程是随机的,由随机函数随机选择。但是若一进程成为发送进程,那么另一个进程只能是接收进程。如果没有申请到资源,就不能建立邮箱,发送进程不能发送消息。如果邮箱中没有空闲单元,发送进程不能够发送消息;如果邮箱中没有消息,接收进程不能够接收消息。-modeling process using two-way communications mail generates a random mailbox, the two processes use of the mail to communicate with each other, information and the size of the same size mail. A process for which this process, a process for which the receiving process is random, random function randomly selected. However, if this process is to be a process, then another process can only be receiving process. If there is no application of resources, the building of mail, send process can send messages. If the mailbox no spare units, sending process can not send messages; If no news mail, the receiving process can not receive information.

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

发表评论

0 个回复

  • 笔试过程中的题目,对1中的每行进行排序安装行的顺序放入2中,...
    笔试过程中的题目,对文件1中的每行进行排序安装行的顺序放入文件2中,-process written to the subject of a document each of the firms installing OK sequencing the order Add two documents,
    2023-06-18 16:00:03下载
    积分:1
  • wave test program that debug succesfuled i n the visual c 6.0. please try it you...
    test wave program that debug succesfuled in the visual c++ 6.0 . please try it yourself .-wave test program that debug succesfuled i n the visual c 6.0. please try it yourself.
    2023-05-08 18:00:02下载
    积分:1
  • lg com 端口 unlok
    舒适性 LG 手机打开源它只是在这里以支持此软件的开发。免费版本是在购买之前对你有好处,那就试着在前。没有退款。
    2022-02-25 01:17:48下载
    积分:1
  • 该例子调用系统API,获取当前谁在使用该
    该例子调用系统API,获取当前谁在使用该文件。-The example of the system call API, access to the current one in the use of the file.
    2022-11-13 12:50:03下载
    积分:1
  • │ Array.cpp │ Array.ds w │ Array.h │ Array.rc │ ArrayDlg.cpp │ ArrayDl...
    │ Array.cpp │ Array.ds w │ Array.h │ Array.rc │ ArrayDlg.cpp │ ArrayDlg.h │ ReadMe.txt │ Resource.h │ StdAfx.cpp │ StdAfx.h │ └─res Array.ico Array.rc2 MFC的数组类支持的数组类似于C++中的常规数组,可以存放任何数据类型。C++的常规数组在使用前必须将其定义成能够容纳所有可能需要的元素,而MFC数组类创建的对象可以根据需要动态地增大或减小,数组的起始下标是0,而上限可以是固定的,也可以随着元素的增加而增加,数组在内存中的地址仍然是连续分配的。   MFC定义了数组模板类CArray,并针对各种常用变量类型定义了CByteArray,CWordArray,CUIntArray,CDWordArray,CStringArray,CObArray,CPtrArray。 MFC数组类使用方法基本相同。--- Array.cpp Array.dsp---- Array .dsw . h-- Array.rc ArrayDlg.cpp---- Read ArrayDlg.h Me.txt-- Resource.h StdAfx.cpp---- supply-StdAfx.h res Array.ico Array.rc2 MFC array is an array type of support similar to the regular C Regulation array can store any data type. Conventional C prior to the use of the array must be defined as possible to accommodate all the needs of the elements, MFC array type and the object can be created based on the need to dynamically increase or decrease the threshold array index is 0, and the ceiling i
    2022-03-07 20:55:03下载
    积分:1
  • 商城系统
    应用背景图书馆操作系统 大作业设计。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。关键技术大作业设计:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    2022-02-03 05:28:42下载
    积分:1
  • Servlet利用commons fileupload上传下载
    Servlet利用commons fileupload实现了单文件及多文件上传 并提供了文件下载功能
    2023-09-01 19:15:04下载
    积分:1
  • 分隔控,可以将切割成指大小得
    文件分隔控件,可以将文件切割成指大小得文件-separate document control, can be cut into paper document refers in size
    2022-01-28 19:20:16下载
    积分:1
  • file manipulation
    文件操作-file manipulation
    2022-05-20 20:53:56下载
    积分:1
  • 直接解码即可,程序内有比较完整的注释和说明。程序完成的功能是对一个进行md5编码,结果存在一个新建的.txt里。...
    直接解码即可,程序内有比较完整的注释和说明。程序完成的功能是对一个文件进行md5编码,结果存在一个新建的.txt文件里。-can directly decode, procedures are in the integrity of the Notes and annotations. Completion of the functions of a document md5 coding, a new existence. Txt file.
    2022-01-23 11:23:06下载
    积分:1
  • 696516资源总数
  • 106668会员总数
  • 21今日下载