![]() |
Understanding Threads: Atomic Operations and Memory Ordering
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 ...http://feeds.feedburner.com/~r/delph...~4/DTh-6reEZsY
![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:17 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz