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

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

于 2023-01-04 发布 文件大小:1.28 kB
0 113
下载积分: 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 个回复

  • Delete the cycle with a certain characteristics of folders and files. The main s...
    循环删除具有某一个特征的文件夹和文件. 主要用清除受版本控制源码的痕迹. -Delete the cycle with a certain characteristics of folders and files. The main source version control clearance by the traces.
    2022-03-21 13:50:58下载
    积分:1
  • 将输入内容自动化为
    将输入内容自动化为文档-to input files for automation
    2022-02-05 00:55:56下载
    积分:1
  • 读取CADDXF档信息,从而实现vb程序与cad的连接
    读取CAD文件DXF文档信息,从而实现vb程序与cad的连接-CAD file DXF files to read information in order to achieve vb connection procedures and cad
    2022-07-13 07:45:27下载
    积分:1
  • 使用递归算法在指定目录下查找
    使用递归算法在指定目录下查找文件-use recursive algorithm in designated directories search for documents
    2023-02-21 15:05:04下载
    积分:1
  • 一个非常好用的excel操作类,符合人工学
    一个非常好用的excel操作类,符合人工学-operator excel is very good
    2022-01-27 15:10:29下载
    积分:1
  • 使用 Jquery 的图像网格
    jQuery是一个多浏览器 (参看跨浏览器) JavaScript 库旨在简化客户端脚本的HTML。[2]它被发布了 2006 年 1 月在BarCamp NYC 由John Resig。它目前是由一组由 Dave Methvin 领导的开发人员开发。JQuery 使用超过 65%的 10000 个访问量最高,今天是网站的最受欢迎的JavaScript 库的使用。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2023-05-23 06:40:02下载
    积分:1
  • 系统全家福(编程语言VB)AddadStringDir 快速全盘查找Dir和Api扫描驱动器Exe 伪装天使FreeActiveXShell 获取特殊...
    文件系统全家福(编程语言VB)AddadStringDir 快速全盘查找文件Dir和Api扫描驱动器Exe 伪装天使FreeActiveXShell 获取特殊文件 安全的删除自己 比较两个文件是否相同 查找目录 全部文件大小 查找文件 从全路径名中获得文件扩展名 从全路径名中提取文件名 二进制复制文件 获取当前目录下所有文件和文件夹 记载Windows使用的时间 检测文件是否存在 建立多级目录 将文件夹目录保存到INI文件当中 批量移动文件 确定文件是否为可执行文件 删除含文件的目录 顺序文件 随机文件文件 浏览 在临时文件下建立临时文件 自动识别文件路径 读取相应内容
    2022-08-14 17:10:00下载
    积分:1
  • 激光雷达LAS读取
    激光雷达LAS文件读取 可以实现LAS1.0的读取,为下一步进一步处理点云做准备
    2022-08-22 05:23:59下载
    积分:1
  • 用于读写xml的非常轻量级的c++类的源代码
    用于读写xml文件的非常轻量级的c++类的源代码-used to read and write xml documents very lightweight category c source code
    2022-02-01 00:18:43下载
    积分:1
  • DDM (Delicate Document Manager) is a tool f or searching, browsing and managing...
    DDM(Delicate Document Manager) is a tool for searching, browsing and managing PDF documents. It provides an Explorer-like view of PDF files with their titles instead of file names. It embeds a fast incremental search function for finding PDF files. -DDM (Delicate Document Manager) is a tool f or searching, browsing and managing PDF documents. It provid es an Explorer-like view of PDF files with their titles instead of file names. It embeds in a fast cremental search function for finding PDF file s.
    2022-01-26 07:14:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载