Skip to content

LWG-3343 Ordering of calls to unlock() and notify_all() in Effects element of notify_all_at_thread_exit() should be reversed #5863

@StephanTLavavej

Description

@StephanTLavavej

LWG-3343 Ordering of calls to unlock() and notify_all() in Effects element of notify_all_at_thread_exit() should be reversed

From a quick glance, I believe it's these lines, but I haven't investigated thoroughly:

STL/stl/src/xnotify.cpp

Lines 96 to 97 in ab6dec6

_Mtx_unlock(block->data[i].mtx);
_Cnd_broadcast(block->data[i].cnd);

Metadata

Metadata

Assignees

No one assigned

    Labels

    LWGLibrary Working Group issuefixedSomething works now, yay!

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions