LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 01-28-2018, 09:59 AM   #1
bodisha
Member
 
Registered: Oct 2016
Posts: 36

Rep: Reputation: Disabled
Question about IPC


Hello and thanks in advance for any help anyone can offer to help me understand this

I'm curious about a 30.000 ft view on how IPC works in Linux between parent-child processes...I understand there's multiple types of IPC's... But I'm currently trying to figure out if parent-child process IPC communications go thru the API on the way to the kernel

For example... if the bash shell forks a ps command process... I'm assuming the ps process uses IPC to communicate the results back the the bash shell... If this is how it works I'm trying to figure out if it goes thru the API... I'm guessing it does but I can't find anything that specifically states that

Once again... thanks for any help anyone can offer me
 
Old 01-28-2018, 10:41 AM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
When Unix IPC was designed, it was not called API yet.

This is a good explanation: http://www.tldp.org/LDP/tlk/ipc/ipc.html

Keep in mind that this was designed in the late 1960 - early 1970-ies. It is about as fundamental as stack pointers and subroutines.

You won't find how processes in a GUI framework communicate I think. That is different AFAIK. And terribly complicated.

jlinkels
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPC vishnu anand Linux - Newbie 2 12-16-2011 02:39 AM
IPC in C. msaslin Programming 3 05-13-2010 04:10 PM
Gtk IPC question PatrickNew Programming 2 03-19-2008 11:45 PM
IPC question... climbingmerlin Programming 4 11-03-2005 03:30 AM
Kernel IPC question rickthemick Linux - General 2 10-30-2005 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration