Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 2001-06-22 10:44:35


From: <williamkempf_at_[hidden]>
>
> Sounds like you're familiar with non-preemptive threads then. I'd be
> very intersted to here from you about areas in which you think the
> interface will cause problems for this style of threading, or where
> other methods may need to be added to support this.

All that is needed is yield(), and some specs on how threads
interact with asynchronous I/O. Our non-preemptive threads
work because the typical use is to spawn a thread to manage
a connection, which ultimately is doing I/O on a socket, so
the threads take turns doing I/O.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk