Re: IPC mechanisms under Linux
- From: Lew Pitcher <lpitcher@xxxxxxxxxxxx>
- Date: Mon, 24 Sep 2007 10:54:28 -0700
On Sep 24, 7:28 am, Wellu <kuumaliimam...@xxxxxxxxx> wrote:
Hi all,[snip]
I'm trying to develop a system for Linux platform that consists of
several different parts. Firts of all there would be Engine part that
listens for incoming messages or events.
There can be several modules (e.g hundreds) running at the
same time so everything is asynchronous.
At the same time Engine can[snip]
get new messages from upper levels using some IPC mechanism.
So, all in all
Engine must listen to events from Modules and from upper levels.
Engine and Modules run in the same machine and programming language
would be C.
There are many IPC mechanisms that might satisfy your problem.
For data passing, you can use
- files,
- unnamed pipes,
- named pipes,
- UNIX sockets,
- TCP/IP sockets,
- shared memory,
- Posix message queues,
- DBUS
For signalling, you can use
- sentinal files
- file locking
- signals
- files/pipes/sockets and poll/select
- semaphores
- message queues
- DBUS
.
- Follow-Ups:
- Re: IPC mechanisms under Linux
- From: Rainer Weikusat
- Re: IPC mechanisms under Linux
- References:
- IPC mechanisms under Linux
- From: Wellu
- IPC mechanisms under Linux
- Prev by Date: Re: IPC mechanisms under Linux
- Next by Date: Re: IPC mechanisms under Linux
- Previous by thread: Re: IPC mechanisms under Linux
- Next by thread: Re: IPC mechanisms under Linux
- Index(es):
Relevant Pages
|