[439] in Pthreads mailing list archive
fd_kern_poll & fd_kern_wait
daemon@ATHENA.MIT.EDU (Larry V. Streepy, Jr.)
Mon Sep 30 16:10:54 1996
Date: Mon, 30 Sep 1996 13:54:15 -0600
From: "Larry V. Streepy, Jr." <streepy@healthcare.com>
To: pthreads mailing list <pthreads@MIT.EDU>
Nope. My proposed solution is to simplistic. It errs by clearing flags
in the select_data even when the thread isn't being rescheduled. I
think you need to work with a temp copy of the fd set and if you find
any match for the thread, then update the select_data and reschedule the
thread.
Better?
--
Larry V. Streepy, Jr.
Chief Technical Officer, Healthcare Communications, Inc.
mailto:streepy@healthcare.com
(214) 851-7033 (Dallas Main #)
(970) 626-5028 (My office #) (970) 626-4425 (Fax)