On Thu, Apr 30, 2009 at 8:56 AM, Nat Goodspeed
Nat Goodspeed wrote:
Robert Ramey wrote:
Any chance the package in the vault could be updated with these patches?. Would it be possible to include the html version of the documentation in the package in the vault as well?
Let's try that again: http://www.boostpro.com/vault/index.php?action=downloadfile&filename=boost-coroutine-2009-04-30.tar.gz&directory=Concurrent%20Programming&
As soon as I #included coroutine headers in a second .cpp file on Windows, I ended up with duplicate-symbol link errors. Maybe Giovanni Deretta hadn't gotten beyond single-source test programs. Fortunately the fix was straightforward.
I looked at this library a few years ago before I wrote my own (for a windows system), and the big problem I saw with it was that it uses fibers on windows. Fibers have this little problem, if you say you need, say, 20kb for the fiber stack, it still allocates as much memory as a thread uses (4megs by default I think), meaning if you try to create 10k of these little buggers, you run out of memory well before that. Made this library rather worthless for my use. If it really wants to be used for a good coroutine based paradigm, then they need to get rid of the fiber usage on the win32 side.