C++

Modifiers

The following tables provides additional information on the members of the concurrent_unordered_set and concurrent_unordered_multiset template classes.

Mutexes

Mutexes provide MUTual EXclusion of threads from sections of code.

In general, strive for designs that minimize the use of explicit locking, because it can lead to serial bottlenecks. If explicitly locking is necessary, try to spread it out so that multiple threads usually do not contend to lock the same mutex.

S’abonner à C++