[Bug manual/4816] New: Section "24.4.7.1 Problems with Non-Atomic Access" of the libc manual

dranger003 at gmail dot com sourceware-bugzilla@sourceware.org
Thu Jul 19 19:06:00 GMT 2007


http://www.gnu.org/software/libc/manual/html_node/Non_002datomic-Example.html#Non_002datomic-Example

In the above page (section "24.4.7.1 Problems with Non-Atomic Access" of the 
libc manual) the variable 'memory' should be volatile.

The third line should read as follows:

'volatile struct two_words { int a, b; } memory;'

-- 
           Summary: Section "24.4.7.1 Problems with Non-Atomic Access" of
                    the libc manual
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: manual
        AssignedTo: roland at gnu dot org
        ReportedBy: dranger003 at gmail dot com
                CC: glibc-bugs at sources dot redhat dot com


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.



More information about the Glibc-bugs mailing list