lua-users home
lua-l archive

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


--- Javier Guerra Giraldez <javier@guerrag.com> wrote:


> what you're asking for could (in theory, i guess)
> would need sockets 
> (which are bidirectional). you creae a socket pair
> (using socketpair(), 
> of course), give one to the process creator and use
> the other to read/write
> 
The hard part though is, how to coordinate the reading
and writing in a non-threading environment ? Reading
and writing from the same process in such a situation
seems to create a natural deadlock situation.


      ____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/