which IPC should i use?
From: shellcode (shellcode_at_adelphia.net)
Date: 08/19/04
- Next message: QNils_O=2E_Sel=E5sdal=22?=: "Re: which IPC should i use?"
- Previous message: Ruud Schramp: "read on socket shows EOF... but only when app is running in background"
- Next in thread: QNils_O=2E_Sel=E5sdal=22?=: "Re: which IPC should i use?"
- Reply: QNils_O=2E_Sel=E5sdal=22?=: "Re: which IPC should i use?"
- Reply: Heiko: "Re: which IPC should i use?"
- Reply: shellcode: "Re: which IPC should i use?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 19 Aug 2004 02:07:55 -0500
hi.
i wrote a program to control a device attached to the serial port of my
computer. the program works fine but it is meant to work together
alongside with other programs. at first i was just going to have the
other programs run the control program. this would work fine but then, i
thought that a more elegant solution would be to have the other programs
communicate with this one through UNIX IPC.
what i need to know is what type of IPC would be best. my control
program would only need to receive short messages (~5 bytes) and then
control the serial port based on those messages. i was thinking that a
message queue would be best but perhaps one of the experts here feels
that a shared memory segment or a FIFO would be better?
thanks in advance.
- Next message: QNils_O=2E_Sel=E5sdal=22?=: "Re: which IPC should i use?"
- Previous message: Ruud Schramp: "read on socket shows EOF... but only when app is running in background"
- Next in thread: QNils_O=2E_Sel=E5sdal=22?=: "Re: which IPC should i use?"
- Reply: QNils_O=2E_Sel=E5sdal=22?=: "Re: which IPC should i use?"
- Reply: Heiko: "Re: which IPC should i use?"
- Reply: shellcode: "Re: which IPC should i use?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|