Portable Inter Process Communication Programming

Morteza Kashyian, Seyedeh Leili, Mirtaheri Ehsan, Mousavi Khaneghah
{"title":"Portable Inter Process Communication Programming","authors":"Morteza Kashyian, Seyedeh Leili, Mirtaheri Ehsan, Mousavi Khaneghah","doi":"10.1109/ADVCOMP.2008.38","DOIUrl":null,"url":null,"abstract":"Most applications are consisted of several activities that are fulfilled by different processes. And even processes are included different child processes named light processes or threads. The basic idea of dividing the whole activities to processes is followed by the reusability and sharing ideas. Therefore, applications need an IPC mechanism to establish the communication between the processes. Inter process communication that is known as IPC is a collection of mechanisms that meet the communication requirements between processes. System V defines standard for IPC mechanism named SVIPC. Different operating systems implement SVIPC standard in different manner. Therefore programs that are using the IPC mechanism have different structure in other operating systems. On the other hand reproducing program for various operating systems is a time consuming activity. Porting is a solution to writing programs with the least changes to port them on different operating systems. In this survey we present a brief introduction of various IPC mechanisms in the two operating systems and describe porting Windowspsila programs to Linux by mapping the IPC primitives as a solution. We present the porting as a solution to portable IPC programming. While the program is written with windows IPC mechanism can use our wrapper to be able to run in Linux operating system.","PeriodicalId":269090,"journal":{"name":"2008 The Second International Conference on Advanced Engineering Computing and Applications in Sciences","volume":"99 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-09-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2008 The Second International Conference on Advanced Engineering Computing and Applications in Sciences","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ADVCOMP.2008.38","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10

Abstract

Most applications are consisted of several activities that are fulfilled by different processes. And even processes are included different child processes named light processes or threads. The basic idea of dividing the whole activities to processes is followed by the reusability and sharing ideas. Therefore, applications need an IPC mechanism to establish the communication between the processes. Inter process communication that is known as IPC is a collection of mechanisms that meet the communication requirements between processes. System V defines standard for IPC mechanism named SVIPC. Different operating systems implement SVIPC standard in different manner. Therefore programs that are using the IPC mechanism have different structure in other operating systems. On the other hand reproducing program for various operating systems is a time consuming activity. Porting is a solution to writing programs with the least changes to port them on different operating systems. In this survey we present a brief introduction of various IPC mechanisms in the two operating systems and describe porting Windowspsila programs to Linux by mapping the IPC primitives as a solution. We present the porting as a solution to portable IPC programming. While the program is written with windows IPC mechanism can use our wrapper to be able to run in Linux operating system.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
可移植进程间通信编程
大多数应用程序由几个活动组成,这些活动由不同的进程完成。甚至进程也包含了不同的子进程,称为轻进程或线程。将整个活动划分为过程的基本思想是遵循可重用性和共享思想。因此,应用程序需要一个IPC机制来建立进程之间的通信。进程间通信称为IPC,是满足进程间通信需求的机制集合。系统V定义了名为SVIPC的IPC机制标准。不同的操作系统以不同的方式实现SVIPC标准。因此,使用IPC机制的程序在其他操作系统中具有不同的结构。另一方面,为各种操作系统复制程序是一项耗时的活动。移植是一种以最少的更改编写程序以将其移植到不同操作系统上的解决方案。在本调查中,我们简要介绍了两个操作系统中的各种IPC机制,并描述了通过映射IPC原语作为解决方案将Windowspsila程序移植到Linux上。我们提出了移植作为可移植IPC编程的解决方案。虽然程序是用windows IPC机制编写的,但可以使用我们的包装器在Linux操作系统下运行。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Enabling Digital Repositories on the Grid UML-Based Representation for Textual Objects The Portuguese Grid Initiative A Biologically-Inspired Preventive Mechanism for Self-Healing of Distributed Software Components GridQTC: A Desktop Client for the Computational Chemistry Grid Infrastructure
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1