|
Boost : |
From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2005-01-10 06:11:31
Matt Austern wrote:
>Allow the two functions to be run as coroutines, and you'll have
>something really interesting.
>
>
>
I think having a coroutine lib within boost would be really nice.
However I think it should not have an explicit dependancy on boost::thread,
rather it should be regarded an alternative means of concurrency.
It might e.g. implemented on terms of the "fiber" API that is available
on some
operating systems.
Having such a library would not only allow "program reuse" of original
poster,
but also be applicable to write iterators in terms of coroutines.
Roland
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk