Re: [PATCH 2/4] libstdc++: Refactor __semaphore_base member functions

2025-06-04 Thread Tomasz Kaminski
On Tue, Jun 3, 2025 at 10:32 AM Jonathan Wakely wrote: > Replace the _S_get_current and _S_do_try_acquire static member functions > with non-static member functions _M_get_current and _M_do_try_acquire. > This means they don't need the address of _M_counter passed in. > > libstdc++-v3/ChangeLog:

[PATCH 2/4] libstdc++: Refactor __semaphore_base member functions

2025-06-03 Thread Jonathan Wakely
Replace the _S_get_current and _S_do_try_acquire static member functions with non-static member functions _M_get_current and _M_do_try_acquire. This means they don't need the address of _M_counter passed in. libstdc++-v3/ChangeLog: * include/bits/semaphore_base.h (_S_get_current): Replace