
10 Jan
2005
10 Jan
'05
11:11 a.m.
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