Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
14.983 Beiträge
 
#1

Understanding Threads: Atomic Operations and Memory Ordering

  Alt 28. Aug 2010, 07:40
A common question about threads is: “I need a read/write access to a variable from two or more threads. Should I protect an access to a variable by critical section?” A simple answer is: yes, if you want to be on the safe side always protect the variable by a critical section. A deeper answer ...

More...
  Mit Zitat antworten Zitat