jeudi 18 août 2016

Are bitset individual bits thread safe for per individual thread to write into at a single time?

I wonder if we operate on a catchline or even 64bit word sizes can I concurrently operate on individual bits in a bitset? Say I have 10 threads, each has threadId. Can all threads concurrently set bits[threadId] = value?

Aucun commentaire:

Enregistrer un commentaire