[Hampshire] Memory corruption due to word sharing

Startseite

Nachricht beantworten
Autor: James Courtier-Dutton
Datum:  
To: Hampshire LUG Discussion List
Betreff: [Hampshire] Memory corruption due to word sharing
Hi,

There is a problem when using bitfields in multithreaded programs due to
gcc compiler not working as expected. See LKML reference below.
Just FYI.
It creates very hard to spot bugs.
It also sounds difficult to fix.
So be very careful when using bit fields.

http://groups.google.com/group/linux.kernel/browse_thread/thread/a3bba3db11b2af1c/b50876795a117003?#b50876795a117003
--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------