登录
首页 » C++ » CPP-use-shared-memory-

CPP-use-shared-memory-

于 2014-03-10 发布 文件大小:2KB
0 252
下载积分: 1 下载次数: 4

代码说明:

  C++ 使用共享内存实现进程间通信。 文件映射是一种实现进程间单向或双向通信的机制。它允许两个或多个本地进程间相互通信。为了共享文件或内存,所有的进程必须使用相同的文件映射的名字或是句柄。   为了实现共享文件,第一个进程先调用CreateFile方法。接下来调用CreateFileMapping方法来创建一个文件映射对象。并为文件映射指明一个句柄和名称。由于事件,信号,互斥对象和文件映射等这些内核对象都共享同一个名字空间,所以如果这个名字和其他一个对象的名称重名的话那么将创建失败。(C++ use shared memory to achieve inter-process communication)

文件列表:

C%2B%2B use shared memory .txt,6942,2014-03-10

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

发表评论

0 个回复

  • spatial4
    此种模型绘制类似米字形的网格。由于整个过程递归调用绘图函数,所以可以根据误差判断绘制DEM的精细程度,从而绘制出不同精细程度的DEM,为解决漫游中数据量较大而引起的画面不流畅现象提供了模型基础。 本文并没有对LOD作研究,只是给出了四叉树的建立和遍历绘图的方法。 #include "Pt3d.h" //空间点类(主要记录空间点的x,y,z) (Rendering such a model similar to rice-shaped grid. Recursive calls as a result of the whole process of mapping function, so it can be judged according to the error map of the fine DEM, thus rendering a different degree of precision DEM, for the settlement of roaming in the amount of data arising from the larger screen does not provide a model of fluid based on the phenomenon. This article does not LOD for research, but given quadtree traversal of the establishment and mapping method.# Include Pt3d.h // space-point type (mainly recorded space points x, y, z))
    2007-11-27 10:36:15下载
    积分:1
  • 430g2553.led
    msp430g2553单片机控制led数码管显示程序(msp430g2553 MCU control led digital tube display program)
    2012-08-01 14:17:21下载
    积分:1
  • principal_curvatures
    基于PCL的三维点云模型表面主曲率估计的具体实现(estimation of the principal curvature)
    2013-12-19 18:52:43下载
    积分:1
  • 12345678
    大规模地形渲演算法,支持LOD处理,是实现虚拟现实的一种方法(Virtural Realy)
    2012-02-07 14:27:06下载
    积分:1
  • counter
    Just a simple counter
    2012-11-30 04:29:55下载
    积分:1
  • 初学的时候做的一个聊天系统,可以多人,可以检测IP等
    初学的时候做的一个聊天系统,可以多人,可以检测IP等-Learning when to do a chat system that people can detect the IP, etc.
    2023-02-14 15:55:04下载
    积分:1
  • IEDModeler-0.8.4
    数字化变电站保护IED模型文件编辑工具,老外免费软件,很好用。(Digital Substation IED protection model file editing tool, foreigners free software, easy to use.)
    2014-06-02 13:20:00下载
    积分:1
  • ETL437-Chapitre_5
    Chapitre5 : La foudre
    2014-06-10 23:20:18下载
    积分:1
  • very_useful_SmartEdit
    说明:  非常有用的智能编辑框。过滤非设定的输入字符,可以设定为NUMBER、LETTER、FLOATINGPT、OTHERCHAR、SIGNED、UNDERSCORE。(Very useful smart edit box. Filtering of non-setting input characters can be set to NUMBER, LETTER, FLOATINGPT, OTHERCHAR, SIGNED, UNDERSCORE.)
    2008-08-29 21:59:40下载
    积分:1
  • Classic-game-map-editor
    经典游戏地图编辑器,VC编译成功,可以运行。值得下载。(Classic game map editor, VC compile successfully, you can run. Worth downloading.)
    2013-12-06 22:14:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载