Re: [PATCH] libstdc++: Fix conformance issues in (PR92895)

2020-01-29 Thread Jonathan Wakely
On 29/01/20 09:57 -0800, Thomas Rodgers wrote: Looks good to me, ok for trunk. Committed.

Re: [PATCH] libstdc++: Fix conformance issues in (PR92895)

2020-01-29 Thread Thomas Rodgers
Looks good to me, ok for trunk. Thanks. Jonathan Wakely writes: > Fix synchronization issues in . Replace shared_ptr with > _Stop_state_ref and a reference count embedded in the shared state. > Replace std::mutex with spinlock using one bit of a std::atomic<> that > also tracks whether a stop

[PATCH] libstdc++: Fix conformance issues in (PR92895)

2020-01-23 Thread Jonathan Wakely
Fix synchronization issues in . Replace shared_ptr with _Stop_state_ref and a reference count embedded in the shared state. Replace std::mutex with spinlock using one bit of a std::atomic<> that also tracks whether a stop request has been made and how many stop_source objects share ownership of