PaolaJ.
PaolaJ.

Reputation: 11582

Is in boost or stl thread safe containers similar to lists and unordered_maps?

I am using stl and boost containers in program. I added threads so I wonder is in boost or stl thread safe containers similar to lists and unordered_maps ?

Upvotes: 2

Views: 4886

Answers (2)

Romain
Romain

Reputation: 9

As of today the Boost's Lockfree framework do not provide thread-safe unordered map or thread safe (and lock free) vector similar to the one you can find in Threadings Building Block API.

Upvotes: 0

ixSci
ixSci

Reputation: 13718

In the latest boost release lockfree containers were added.

Upvotes: 7

Related Questions