This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug manual/4816] Section "24.4.7.1 Problems with Non-Atomic Access" of the libc manual
- From: "dranger003 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 19 Jul 2007 20:04:55 -0000
- Subject: [Bug manual/4816] Section "24.4.7.1 Problems with Non-Atomic Access" of the libc manual
- References: <20070719190555.4816.dranger003@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From dranger003 at gmail dot com 2007-07-19 20:04 -------
As per the following page:
http://www.gnu.org/software/libc/manual/html_node/Nonreentrancy.html#Nonreentrancy
"If your handler needs to access any global variables from your program, declare
those variables volatile. This tells the compiler that the value of the variable
might change asynchronously, and inhibits certain optimizations that would be
invalidated by such modifications."
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4816
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.