Re: macros: return or exit
- From: "Uri Guttman" <uri@xxxxxxxxxxxxxxx>
- Date: Thu, 21 Jan 2010 19:46:23 -0500
"MG" == Marc Girod <marc.girod@xxxxxxxxx> writes:
MG> On Jan 21, 7:33 pm, "Uri Guttman" <u...@xxxxxxxxxxxxxxx> wrote:
>> not at all. when you fork, why not pass some flag to tell one of the
>> procs not to deal with the background process? in the other process,
>> close off the handles to that background process.
MG> Not to deal with the background process ?
MG> But what should it do then ?
MG> The whole purpose is to interface it !
MG> It could compute pi decimals, or have dinner.
MG> Once it has a fork...
i am lost as to the big picture now. i either need to read all the older
emails again or you need to explain your goals (and not your
design). you seem to want to run some binary process and manage its
i/o. why does this need to be in the background? what about a simple
fork of it and manage its i/o in an event loop in the parent? this is
fairly easy and there are modules that do all the hard lifting. if this
design isn't good enough explain why you need a more complex
architecture.
uri
--
Uri Guttman ------ uri@xxxxxxxxxxxxxxx -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
.
- Follow-Ups:
- Re: macros: return or exit
- From: Marc Girod
- Re: macros: return or exit
- References:
- macros: return or exit
- From: Marc Girod
- Re: macros: return or exit
- From: Ben Morrow
- Re: macros: return or exit
- From: Marc Girod
- Re: macros: return or exit
- From: Uri Guttman
- Re: macros: return or exit
- From: Marc Girod
- Re: macros: return or exit
- From: Uri Guttman
- Re: macros: return or exit
- From: Marc Girod
- Re: macros: return or exit
- From: Uri Guttman
- Re: macros: return or exit
- From: Marc Girod
- macros: return or exit
- Prev by Date: Re: How to taint a variable (for testing)
- Next by Date: Leanest way to get at keyboard events ?
- Previous by thread: Re: macros: return or exit
- Next by thread: Re: macros: return or exit
- Index(es):
Relevant Pages
|