Advantages of a large number of threads cf other approaches?

Vance Shipley vances@REDACTED
Thu Feb 19 06:01:03 CET 2004


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



More information about the erlang-questions mailing list