Boost logo

Boost :

Subject: Re: [boost] boost atomic question
From: Janek Kozicki (janek_listy_at_[hidden])
Date: 2010-04-30 12:45:36


Mathias Gaunard said: (by the date of Fri, 30 Apr 2010 17:34:21 +0100)

> Janek Kozicki wrote:
> > Vicente Botet Escriba said: (by the date of Fri, 30 Apr 2010 08:33:04 -0700 (PDT))
>
> >> have you already tried it?
> >
> > It is already implemented, with OPEN MP and several global locks. We
> > have a speed-up of x5 times on 8 cores.
>
> What Vicente asked is whether you tried the bit of code you showed.

ah, yes. If you comment out the 'Something' part, the attached code
will work. (after you download the boost atomic library)

-- 
Janek Kozicki                               http://janek.kozicki.pl/  |





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