Advantages of a large number of threads cf other approaches?
Thu Feb 19 07:17:55 CET 2004
Here's the problem: that's at least 3 different methods!
Can we say "#ifdef" ? :-)
Vance Shipley <vances@REDACTED> wrote:
> You can to this list:
> Solaris-style: doors
> On Wed, Feb 18, 2004 at 08:41:03PM -0600, Scott Lystig Fritchie wrote:
> } System V-style:
> } Both sides open a pipe.
> } The sending process uses an ioctl(2) call to pass the
> } descriptor across the pipe.
> } The receiving process uses ioctl(2) to get the descriptor.
> } BSD-style:
> } Both sides open a UNIX domain socket (pipe OK too?).
> } The sending process formats a magic "struct msghdr" structure,
> } then sends it using sendmsg(2) across the UNIX domain socket.
> } The receiving process uses recvmsg(2) creates a similar
> } structure and uses recvmsg(2) to get the descriptor.
> } -Scott
"Do you smell something burning or is it me?"
-- Joan of Arc
More information about the erlang-questions