This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
There is this bug in the accounting code where we non-atomically update
// Return this block to our list and update counters and // owner id as needed. --__bin._M_used[__block->_M_thread_id];
where __block->_M_thread_id does not need to be equal to __thread_id. But this is unrelated to having volatile or not, as only _M_used pointer is volatile, not the value we decrement here.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |