Re: A question about multithreaded server

2001-10-30 Thread Jason Evans
The typical solution is to create a pipe, and write a byte to it in order to wake up the manager thread. Jason To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

A question about multithreaded server

2001-10-27 Thread A G F Keahan
I have a server built around the following model: One "manager" thread selecting on multiple descriptors (using kqueue() on FreeBSD, poll() on Solaris, select() on some other Unix systems, and WSAWaitForMultipleEvents() on Win32). A small number (typically 2 x the number of CPUs) of worker threa