FastLED 3.9.15
|
int fl::IdTracker::getOrCreateId | ( | void * | ptr | ) |
Get existing ID for pointer, or create a new one if not found.
Thread-safe.
ptr | Pointer to track |
Definition at line 5 of file id_tracker.cpp.
References mMutex, mNextId, and mPointerToId.