登录
首页 » Process-Thread » 使用共享内存通讯的程序例子

使用共享内存通讯的程序例子

于 2023-05-18 发布 文件大小:10.56 kB
0 81
下载积分: 2 下载次数: 1

代码说明:

使用共享内存通讯的程序例子-the demo of communication using shared memory

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

发表评论

0 个回复

  • 我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档对象和几个视图。文档对象负责有规律地采集数据,然后通知相关的视图以不同...
    我编了一个类似Windows 2000 上性能监视器的程序。在这个程序中,我创建了一个文档对象和几个视图。文档对象负责有规律地采集数据,然后通知相关的视图以不同的格式显示这些数据。文档对象为了有规律地采集数据,它需要一个定时(time)事件。但是,文档不是一个基于窗口的对象,所以它没有这样的定时事件。我权衡了三种解决方案: 1、在其中的一个视图中创建定时器。当事件发生时通知文档对象获取数据。 2、为每一个文档(或在每个文档内)创建一个单独的线程,以便这个线程能有规律地创建时间事件。 3、在CMainFrame中创建一个定时器并从中调用文档函数这三种方法我都不满意。能否给出一种更好的解决方案?
    2023-07-11 15:35:03下载
    积分:1
  • 使用信号量对象实现线程的同步的一个实例
    使用信号量对象实现线程的同步的一个实例- The use signal quantity object realizes a line regulation synchronization example
    2022-01-28 10:10:45下载
    积分:1
  • 多线程技术在VB。NET
    Multithreading In VB .NET
    2022-08-22 00:06:04下载
    积分:1
  • series of multi
    多线程编程系列。一个线程池实现的实例代码。很好。-series of multi-threaded programming. A thread pool to achieve the example code. Very good.
    2022-07-17 00:04:04下载
    积分:1
  • 一个多线程发送并口控制信号的程序,控制信号的频率达到微秒级...
    一个多线程发送并口控制信号的程序,控制信号的频率达到微秒级-a multithreaded parallel port control signals sent to the procedures, the frequency control signal to achieve microsecond
    2023-03-11 18:30:03下载
    积分:1
  • 如果对Windows开发有什么问题的话,请翻阅PetZold的著作吧。在《Window程序设计》(第5版)中,这位杰出的“Windows先锋 奖”(Wind...
    如果对Windows开发有什么问题的话,请翻阅PetZold的著作吧。在《Window程序设计》(第5版)中,这位杰出的“Windows先锋 奖”(Windows Pioneer Award)获得者根据最新的Windows操作系统权威技术修订了他的经典著作――再一次演示了基本的Win32程 序设计的API核心内容。本书的内容包括: ** 基本内容――输入、输出和对话框 ** Unicode概述 ** 图形――绘图、文本和字体、位 图和元文件 ** 内核和打印机 ** 声音和音乐 ** 动态链接库 ** 多任务和多线程 ** 多文档界面 ** Internet和 Intranet的程序设计 其中采用的大多是具有代表性的示例,这本Petzold著作为使用 Windows 95、Windows 98或 Windows NT的各级windows程序员提 供了最基本的参考和指导。没有经验的开发人员也可以从中获取大量的新知识。 -err
    2022-03-21 20:44:21下载
    积分:1
  • 本原代码是基于C语言的原程序。是用于一般的数据库的连接
    本原代码是基于C语言的原程序。是用于一般的数据库的连接-primitive code is based on the C language of the original procedure. For general is the database connection
    2022-06-22 04:33:14下载
    积分:1
  • 发送消息给某个只知道进程句柄的程序的主窗口的程序
    发送消息给某个只知道进程句柄的程序的主窗口的程序- The transmission news only knows the advancement sentence handle for some the procedure main window procedure
    2022-06-26 16:40:37下载
    积分:1
  • 使用psapi和toolhelp两种方式实现的显示进程列表程序
    使用psapi和toolhelp两种方式实现的显示进程列表程序- Uses psapi and the toolhelp two ways realizations demonstration advancement tabulates the procedure
    2023-07-22 05:25:03下载
    积分:1
  • 编写并调试一个模拟的进程调度程序,采用“最高优先数优先”调度算法对五个进程进行调度。   “最高优先数优先”调度算法的基本思想是把CPU分配给就绪队列中优...
    编写并调试一个模拟的进程调度程序,采用“最高优先数优先”调度算法对五个进程进行调度。   “最高优先数优先”调度算法的基本思想是把CPU分配给就绪队列中优先数最高的进程。   静态优先数是在创建进程时确定的,并在整个进程运行期间不再改变。   动态优先数是指进程的优先数在创建进程时可以给定一个初始值,并且可以按一定原则修改优先数。例如 :在进程获得一次CPU后就将其优先数减少1。或者,进程等待的时间超过某一时限时增加其优先数的值,等等 -Write and debug a simulation of the process scheduler, using the "highest priority number priority" scheduling process scheduling algorithm to five. The "highest priority number first" scheduling algorithm the basic idea is to CPU allocated to the highest-priority ready queue in the process. Static priority number is determined when creating the process, and in the whole process will not change during the operation. Dynamic priority number refers to the process of creating a process priority number can be given an initial value, and can modify the priority number according to certain principles. Example : In the process, get a CPU after its reduction in the number one priority. Or, the process of waiting time exceeds a certain time limit, increase
    2022-03-07 17:51:07下载
    积分:1
  • 696518资源总数
  • 106245会员总数
  • 18今日下载