New answers tagged locking
2
votes
Maintaining a memory-barrier with an expression-bodied member
IMHO your approach made the situation worse. I understand the desire to reduce repetition, but this encapsulation hides familiar thread-safety primitives (lock/Monitor) that every C# developer ...
Top 50 recent answers are included
Related Tags
locking × 168multithreading × 66
c# × 47
c++ × 39
thread-safety × 36
java × 34
concurrency × 25
c × 12
c++11 × 10
python × 9
.net × 8
ruby × 7
file × 7
go × 6
lock-free × 6
performance × 5
reinventing-the-wheel × 5
assembly × 5
pthreads × 4
atomic × 4
raii × 4
beginner × 3
python-3.x × 3
php × 3
bash × 3