FastLED 3.9.15
Loading...
Searching...
No Matches
thread.h
Go to the documentation of this file.
1#pragma once
2
3#ifndef FASTLED_MULTITHREADED
4#if defined(FASTLED_TESTING) && (defined(__has_include) && __has_include(<pthread.h>))
5#define FASTLED_MULTITHREADED 1
6#else
7#define FASTLED_MULTITHREADED 0
8#endif
9#endif // FASTLED_MULTITHREADED
10
11#ifndef FASTLED_USE_THREAD_LOCAL
12#define FASTLED_USE_THREAD_LOCAL FASTLED_MULTITHREADED
13#endif // FASTLED_USE_THREAD_LOCAL