This utility contains mutable objects that are thread safe. More...
|Singly-Linked List. |
|Circular Queue. |
This utility contains mutable objects that are thread safe.
Thread-Safe Objects are mutated atomically. This means they can be modified without any of the hazards that may come with a multi-threaded, interrupt-driven architecture that Gecko OS uses. Note that the Thread-Safe Objects are made atomic by temporarily disabling interrupts. This gives the caller exclusive access to the object as no other threads or interrupt callback handlers will trigger while interrupts are disabled.
Also note that these objects are non-blocking. If an object is not able to perform an operation then the API will fail immediately.