On Wed, 2003-11-19 at 00:56, Paul Davis wrote:
if you used poll(2) or select(2), you could do simultaneous waits on
each direction, regardless of whether they use different devices or
not. you'd then reduce the context switches and the overhead of
synchronize().
Context switches are not
- Conditionally compiled two thread implementation for NPTL (possibly
also works with LinuxThreads, untested)
would you mind explaining why you are using 2 threads? it seems
pointless, but perhaps i'm missing something...
On Tue, 2003-11-18 at 23:59, Paul Davis wrote:
- Conditionally compiled two thread implementation for NPTL (possibly
also works with LinuxThreads, untested)
would you mind explaining why you are using 2 threads? it seems
pointless, but perhaps i'm missing something...
One is for input