MySQL 9.4.0
Source Code Documentation
ut::detail::counting_semaphore_base< T, has_atomic_wait_support > Class Template Reference

A SFINAE helper from which ut::counting_semaphore inherits whole behaviour. More...

Detailed Description

template<typename T, bool has_atomic_wait_support = has_atomic_wait<T>::value>
class ut::detail::counting_semaphore_base< T, has_atomic_wait_support >

A SFINAE helper from which ut::counting_semaphore inherits whole behaviour.

The has_atomic_wait_support argument is not meant to be specified explicitly. Instead it will be deduced to be true or false based on the platform. Then exactly one of the two variants will be instantiated. Also, in practice T will always be uint32_t, but it has to be a type variable, so that has_atomic_wait_support can depend on it.


The documentation for this class was generated from the following file: