LEDs, or light-emitting diodes, are essential components in near-eye displays like virtual reality and augmented reality ...
You mostly do not need to worry about pitfalls of concurrent processing (races, deadlocks, livelocks, resource sharing, etc.). The fact of cooperative processing takes care of such issues by design.