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