Re: multi thread app and often variable accessing
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: multi thread app and often variable accessing
- Date: Fri, 8 Jun 2007 21:27:38 +0200
On Fri, Jun 08, 2007 at 08:51:08PM +0200, Jonathan Winterflood wrote:
If you don't know what memory ordering, barriers, etc. [...]
Indeed I don't know what these are either. Any chance that someone does?
See
Documentation/memory-barriers.txt
in Linux source code, on-line available for instance at
http://www.mjmwired.net/kernel/Documentation/memory-barriers.txt
for a good overview of the concepts and issues. The later
parts of the document are kernel specific, but you may get
more information than you want even before you get to these
parts.
Attempts to use atomic operations without considering memory
access ordering guarantee subtle bugs...
Yeti
--
http://gwyddion.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]