-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
lazy_init is not thread safe. Writing a thread safe version is trivial using std::call_once, but std::once_flag is neither movable nor copyable. It is possible to work around this, but moving an object which is used across threads probably doesn't make sense anyway.
There should be a thread safe alternative as a separate class.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels