Boost logo

Ublas :

Subject: Re: [ublas] vector / matrix mutex writing
From: Kraus Philipp (philipp.kraus_at_[hidden])
Date: 2011-09-12 06:30:53


Am 12.09.2011 um 08:04 schrieb Oswin Krause:

> Hi,
>
> ublas is not thread safe, mostly because it would be terribly slow for
> number crunching. You will need a mutex.
>
> Anyway, since vector<double> is nothing much more elaborate than a double*
> it might work without a mutex. But you should avoid sparse vectors...

Thanks for the answer :-) I will create a mutex around the writing-structure

Phil