On Wed, Jan 22, 2014 at 1:44 PM,  <[email protected]> wrote:
> I think we can probable do what Google Chrome does which is use socketpair
> on POSIX platforms and emulate them with named pipes on Windows. See here.
> https://code.google.com/p/chromium/codesearch#chromium/src/ipc/ipc_channel.h

>From above:
"
// Channels are implemented using named pipes on Windows, and
// socket pairs (or in some special cases unix domain sockets) on POSIX.
// On Windows we access pipes in various processes by name.
// On POSIX we pass file descriptors to child processes and assign names to them
// in a lookup table.
"

Have you looked at uv_spawn()? The Chrome comments sounds like its
doing something pretty similar to what libuv does already:

https://github.com/joyent/libuv/blob/master/src/unix/process.c#L125

And for windows it uses pipes.

Cheers,
Sam

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to