[Hampshire] Memory corruption due to word sharing

トップ ページ

このメッセージに返信
著者: James Courtier-Dutton
日付:  
To: Hampshire LUG Discussion List
題目: [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
--------------------------------------------------------------