Boost logo

Boost :

Subject: Re: [boost] [boost.lockfree] Lockfree on Windows?
From: Tim Blechmann (tim_at_[hidden])
Date: 2013-04-02 10:55:48


> I am in need of a lock free fifo for my current project so I looked into
> lockfree. However, in the documentation I see:
>
> boost.lockfree has been tested on the following platforms:
> a.. g++ 4.4, 4.5 and 4.6, linux, x86 & x86_64
> b.. clang++ 3.0, linux, x86 & x86_64
>
> My question is what the status is on Windows? The documentation for
> boost.atomic says that Windows has been tested, so is there a reason why
> lockfree might have platform specific issues? When I run the example
> provided for the single producer/single consumer queue, I get the expected
> results so it does seem to work. It also states that the queue is lock free.
> Is it safe to use on Windows at present?

if you tested it and it works, you are probably fine. the mentioned
compilers are the once that i had been testing before the review.
according to [1], there are some test failures on windows, though most
of these cases seem to be related to timeouts of the stress tests.

the main reason for not mentioning windows/msvc is that i cannot test on
these platforms myself ...

tim

[1] http://www.boost.org/development/tests/trunk/developer/lockfree.html




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