Monday, December 29, 2008

Threads, Shared Lock, Unordered map

Boost is the C++ swiss knife. Here I play a bit with Threads, Shared Lock (a.k.a read/write locks) and hash map. In this example, multiple threads are writing (reading) data in an hash_map, synchronizing by using write lock (read lock).

1 comment:

  1. Hi Antonio ;-)
    I've unzip the bucket_mapper.gz but after there another bucket_mapper.? without extension. I can see the 4 files in but not able extract them ?