搜索资源列表
LinuxIPC进程间的通信
- Linux 操作系统提供进程间通信(IPC)机制,用来保证正在执行的进程在内核的协调下能够 共享资源、同步以及交换数据等。Linux 支持大量进程间通信机制,包括信号、等待队列、管道 以及Unix 系统V 中提供的进程间通信机制,如消息队列、信号量和共享内存。-Linux operating system to provide inter-process communication (IPC) mechanism used to ensure that the process is being
进程通信vc
- vc做的一个进程间通信的程序,包括共享内存,消息传递,消息管道-vc do an inter-process communication procedures, including shared memory, message passing, the news channel
进程间通讯(一):Window下使用内存映射文件共享数据的例子
- Window下使用内存映射文件共享数据的例子 CreateFileMapping OpenFileMapping MapViewOfFile UnFileMapping等函数的具体应用。比较经典,可以直接拷到工程中应用。 使用过程中有问题。发邮件给我帮你解答,39514004@qq.com
JinChengTongXun.zip
- 包含几个用不同方式(共享内存、socket、FIFO、消息队列等)实现进程通信的小程序,包含详细注释,足以解释各种方式进程通信的实现原理和编程方法,Contains a number of different ways (shared memory, socket, FIFO, message queue, etc.) to achieve the process of the small communications program, including detailed notes, are
pro-com
- 进程和进程通信 1.设计一个程序,创建一个子进程,使父子进程合作,协调地完成某一功能。要求在该程序中还要使用进程的睡眠、进程图象改换、父进程等待子进程终止、信号的设置与传送(包括信号处理程序)、子进程的终止等有关进程的系统调用。 2.分别利用UNIX的消息通信机制、共享内存机制(用信号灯实施进程间的同步和互斥)实现两个进程间的数据通信。具体的通信数据可从一个文件读出,接收方进程可将收到的数据写入一个新文件,以便能判断数据传送的正确性(对文件操不熟悉的同学可不必通过读写文件,只要键盘
PC
- 用VC++6.0实现进程通信,采用的通信方式是共享内存,Server端和Client端可以进行双方通信-With VC++6.0 to achieve the process of communication, the use of means of communication is shared memory, Server-side and Client-side communication can be both
Linux-IPC.tar
- 资源中包含了Linux进程间通信的例子,同时有源文件和可执行文件。 源码主要包含了Linux下IPC机制的本地进程通信方式,包含了IPC共享内存,IPC信号量,IPC消息队列的实现,以及Linux下判断进程退出原因的示例程序。因为是做毕设学习时的练习程序,因此程序有详细的注释。(注意,每种通信方式需要在同时两个终端中查看验证,才可以看出效果,注意查看源码注释)-the source code included in the copressed package shows how IPC wo
MemoryMap
- 相信对于大家来说,内存映射技术已经是个很熟悉的技术了。在这里我只是作个总结,希望对那些新手朋友有帮助。 内存映射文件通常有两个用途:一是内存映射磁盘文件,这对于大数据文件的处理比较适合;二是共享内存,作为进程间通信的一种方式。 -I believe that we, the memory mapping technology is already very familiar with the technology. Here, I only conclude, in the h
ProcessCommunication
- Windows 的IPC(进程间通信)机制主要是异步管道和命名管道。(至于其他的IPC方式,例如内存映射、邮槽等这里就不介绍了) 管道(pipe)是用于进程间通信的共享内存区域。创建管道的进程称为管道服务器,而连接到这个管道的进程称为管道客户端。一个进程向管道写入信息,而另外一个进程从管道读取信息。 -Windows of the IPC (interprocess communication) mechanism is asynchronous pipelines and named
IPC_linux
- 源码包中是我在学习Linux进程间通信时所写的关于五种通信方式(管道,FIFO,信号,消息队列和共享内存)的程序,适合于初学Linux下应用开发的有志之士参考,希望对他们能有所帮助。-Source package is in my learning process communication when Linux on the five kinds of written communication (pipe, FIFO, signals, message queues and shared m
ipc
- linux下进程间通讯列子,包括消息队列,共享内存等-linux Liezi under the process of communication, including message queues, shared memory, etc.
jinchengtongxin
- 进程间通信基础(理论+实例) 包括管道,有名管道,消息队列,信号灯,共享内存,socket。-The basis of inter-process communication (theory+ examples), including pipelines, well-known pipes, message queues, semaphore, shared memory, socket.
vcDEMO
- 实现进程之间内存共享,通讯。擦写内存。在不同的进程之间交换数据。-Achieve the shared memory between processes, communication. Erase the memory. In the exchange of data between different processes.
threecodes
- 1、 用C语言写一个程序名字为procs4,该程序运行过程中共有4个进程,procs4程序(父进程)创建2个子进程p1和p2,p1子进程再创建一个子进程p3。4个进程完成如下工作: 父进程并打印字符串“I am main process”;p1子进程打印“I am child process p1”字符串;p2子进程打印“I am child process p2”;子进程p3打印字符串“I am child process p3”,然后使用exec(族)系统调用打印当前目录下文件和子目录下
communication
- 进程间通信,通过共享内存的方式实现进程间通信,即在内存中开辟一个共享内存区域,创建两个控制台应用程序,来检测进程间的通信-Inter-process communication, through the shared memory means to achieve inter-process communication, that is in memory to open a shared memory region, to create two console applications, to
test
- 生成不同id的函数,在多个进程并发调用这些函数时,生成不重复的id,分别用数据库、文件锁、共享内存的方式实现。-Different id generation function of the process of concurrent calls in a number of these functions, the generation of non-repetition of the id, respectively, the database, file locks, shared mem
shareMemory
- 共享内存,进程通信,进程同步 源代码 vs2005平台-Shared memory, process communication, process synchronization platform source code to vs2005
sem_share_memory
- 共享内存的实现,学习进程共享内存的基础实现方式 -Implementation of shared memory, the learning process on the basis of shared memory implementation
SHARE_MEMORY_TEST
- 该共享内存测试程序,可以实现进程间共享内存通讯,可以用来修改使用。(The shared memory test program, you can achieve inter-process shared memory communication.)