// unlock of pred can see me in the tail before I fill next
// publish me to previous lock-holder :
- // FIXME: detection miss
+ // FIXME: detection miss, don't think it's necessary
pred->next.store(me, std::mo_release );
// (*2) pred not touched any more
void unlock(guard * I) {
mcs_node * me = &(I->m_node);
- // FIXME: detection miss
+ // FIXME: detection miss, don't think it's necessary
mcs_node * next = me->next.load(std::mo_acquire);
if ( next == NULL )
{
// (*1) catch the race :
rl::linear_backoff bo;
for(;;) {
- // FIXME: detection miss
+ // FIXME: detection miss, don't think it's necessary
next = me->next.load(std::mo_acquire);
if ( next != NULL )
break;