FastLED 3.9.15
Loading...
Searching...
No Matches
yield.h File Reference

Detailed Description

Platform-aware cooperative yield for FastLED.

fl::yield() gives other tasks/threads a chance to run:

  • ESP32: calls vTaskDelay(0) to yield to FreeRTOS scheduler
  • Multithreaded hosts: calls std::this_thread::yield()
  • Single-threaded platforms: no-op

Safe to call from any thread/task.

Definition in file yield.h.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fl
 Base definition for an LED controller.
 

Functions

void fl::yield ()
 Yield to the platform scheduler.