/external/pigweed/pw_sync/ |
D | counting_semaphore_facade_test.cc | 57 TEST(CountingSemaphore, EmptyInitialState) { in TEST() argument 58 CountingSemaphore semaphore; in TEST() 64 TEST(CountingSemaphore, SingleRelease) { in TEST() argument 65 CountingSemaphore semaphore; in TEST() 74 CountingSemaphore empty_initial_semaphore; 75 TEST(CountingSemaphore, EmptyInitialStateStatic) { in TEST() argument 79 CountingSemaphore release_semaphore; 80 TEST(CountingSemaphore, ReleaseStatic) { in TEST() argument 89 TEST(CountingSemaphore, MultiRelease) { in TEST() argument 90 CountingSemaphore semaphore; in TEST() [all …]
|
D | counting_semaphore.cc | 53 return pw::sync::CountingSemaphore::max(); in pw_sync_CountingSemaphore_Max()
|
D | docs.rst | 978 CountingSemaphore section in Signaling Primitives 980 The CountingSemaphore is a synchronization primitive that can be used for 988 The CountingSemaphore is initialized to being empty or having no tokens. 1017 BinarySemaphore is a specialization of CountingSemaphore with an arbitrary token 1022 default implementation of CountingSemaphore.
|
/external/pigweed/pw_sync/public/pw_sync/ |
D | counting_semaphore.h | 40 class CountingSemaphore { 44 CountingSemaphore(); 45 ~CountingSemaphore(); 46 CountingSemaphore(const CountingSemaphore&) = delete; 47 CountingSemaphore(CountingSemaphore&&) = delete; 48 CountingSemaphore& operator=(const CountingSemaphore&) = delete; 49 CountingSemaphore& operator=(CountingSemaphore&&) = delete; 97 using pw_sync_CountingSemaphore = pw::sync::CountingSemaphore;
|
/external/pigweed/pw_sync_threadx/public/pw_sync_threadx/ |
D | counting_semaphore_inline.h | 31 inline CountingSemaphore::CountingSemaphore() : native_type_() { in CountingSemaphore() function 38 inline CountingSemaphore::~CountingSemaphore() { in ~CountingSemaphore() 42 inline void CountingSemaphore::release(ptrdiff_t update) { in release() 48 inline void CountingSemaphore::acquire() { in acquire() 54 inline bool CountingSemaphore::try_acquire() noexcept { in try_acquire() 63 inline bool CountingSemaphore::try_acquire_until( in try_acquire_until() 70 inline CountingSemaphore::native_handle_type 71 CountingSemaphore::native_handle() { in native_handle()
|
/external/pigweed/pw_sync_embos/public/pw_sync_embos/ |
D | counting_semaphore_inline.h | 25 inline CountingSemaphore::CountingSemaphore() : native_type_() { in CountingSemaphore() function 29 inline CountingSemaphore::~CountingSemaphore() { in ~CountingSemaphore() 33 inline void CountingSemaphore::acquire() { in acquire() 38 inline bool CountingSemaphore::try_acquire() noexcept { in try_acquire() 42 inline bool CountingSemaphore::try_acquire_until( in try_acquire_until() 49 inline CountingSemaphore::native_handle_type 50 CountingSemaphore::native_handle() { in native_handle()
|
/external/pigweed/pw_sync_freertos/public/pw_sync_freertos/ |
D | counting_semaphore_inline.h | 26 inline CountingSemaphore::CountingSemaphore() : native_type_() { in CountingSemaphore() function 34 inline CountingSemaphore::~CountingSemaphore() { in ~CountingSemaphore() 38 inline void CountingSemaphore::acquire() { in acquire() 52 inline bool CountingSemaphore::try_acquire() noexcept { in try_acquire() 65 inline bool CountingSemaphore::try_acquire_until( in try_acquire_until() 72 inline CountingSemaphore::native_handle_type 73 CountingSemaphore::native_handle() { in native_handle()
|
/external/pigweed/pw_sync_stl/public/pw_sync_stl/ |
D | counting_semaphore_inline.h | 23 inline CountingSemaphore::CountingSemaphore() in CountingSemaphore() function 26 inline CountingSemaphore::~CountingSemaphore() {} in ~CountingSemaphore() 28 inline bool CountingSemaphore::try_acquire_for( in try_acquire_for() 34 inline CountingSemaphore::native_handle_type 35 CountingSemaphore::native_handle() { in native_handle()
|
/external/pigweed/pw_sync_stl/ |
D | counting_semaphore.cc | 23 void CountingSemaphore::release(ptrdiff_t update) { in release() 27 PW_DCHECK_UINT_LE(update, CountingSemaphore::max() - native_type_.count); in release() 33 void CountingSemaphore::acquire() { in acquire() 39 bool CountingSemaphore::try_acquire() noexcept { in try_acquire() 48 bool CountingSemaphore::try_acquire_until( in try_acquire_until()
|
D | BUILD.gn | 56 # This target provides the backend for pw::sync::CountingSemaphore. 77 "The STL pw::sync::CountingSemaphore backend only works with the " +
|
/external/pigweed/pw_sync_embos/ |
D | counting_semaphore.cc | 29 void CountingSemaphore::release(ptrdiff_t update) { in release() 37 CountingSemaphore::max(), in release() 43 bool CountingSemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for()
|
D | BUILD.gn | 59 # This target provides the backend for pw::sync::CountingSemaphore. 83 "The embOS pw::sync::CountingSemaphore backend only works with " +
|
/external/pigweed/pw_sync_freertos/ |
D | counting_semaphore.cc | 39 void CountingSemaphore::release(ptrdiff_t update) { in release() 56 bool CountingSemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for()
|
D | BUILD.gn | 59 # This target provides the backend for pw::sync::CountingSemaphore. 83 "The FreeRTOS pw::sync::CountingSemaphore backend only works with " +
|
/external/pigweed/pw_sync_threadx/ |
D | counting_semaphore.cc | 29 bool CountingSemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for()
|
D | BUILD.gn | 84 # This target provides the backend for pw::sync::CountingSemaphore. 110 "The ThreadX pw::sync::CountingSemaphore backend only works with " +
|