Boost logo

Boost Users :

Subject: Re: [Boost-users] boost coroutine status
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-04-30 15:09:21


On Thu, Apr 30, 2009 at 8:56 AM, Nat Goodspeed <nat_at_[hidden]> wrote:
> 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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net