FastLED 3.9.15
Loading...
Searching...
No Matches
mutex.h
Go to the documentation of this file.
1#pragma once
2
14
15#include "platforms/mutex.h" // IWYU pragma: keep
16
17namespace fl {
18
19// Bind platform implementations to fl:: namespace
20using mutex = fl::platforms::mutex;
21using recursive_mutex = fl::platforms::recursive_mutex;
22
23// Bind unique_lock and lock_guard from platform layer
24using fl::platforms::unique_lock; // ok bare using
25using fl::platforms::lock_guard; // ok bare using
26
27// Bring lock constructor tags into fl:: namespace
28using fl::platforms::defer_lock; // ok bare using
29using fl::platforms::try_to_lock; // ok bare using
30using fl::platforms::adopt_lock; // ok bare using
31using fl::platforms::defer_lock_t; // ok bare using
32using fl::platforms::try_to_lock_t; // ok bare using
33using fl::platforms::adopt_lock_t; // ok bare using
34
35} // namespace fl
fl::platforms::recursive_mutex recursive_mutex
Definition mutex.h:21
fl::platforms::mutex mutex
Definition mutex.h:20
Base definition for an LED controller.
Definition crgb.hpp:179