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
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
2 matches
Mail list logo