[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Interprocess communications

> -----Original Message-----
> From: owner-dev-etrax@xxxxxxx.com]On">mailto:owner-dev-etrax@xxxxxxx.com]On
> Behalf Of Daniel Fraile Vergel
> Sent: woensdag 17 september 2003 11:23
> To: dev-etrax@xxxxxxx.com
> Subject: Interprocess communications
> 	Could someone tell me what is the best way to share date between two
> different process? Now I am developing software for an axis developer
> board lx, but I am changing to an Axis82 soon.

I usually prefer Unix Domain Sockets, as they are easily replaced with
network sockets when its necessary to move processes to different systems.

If you don't really need to communicate between different executables, 
you might start pthreads instead of using fork, then you don't have to use 
IPC at all.