Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Classes | Namespaces
thread_safe_queue.h File Reference

Fixed capacity queue, safe to share between threads. More...

Go to the source code of this file.

Classes

class  lampda::utils::ThreadSafeQueue< T, N >
 Fixed capacity FIFO queue, guarded by a mutex. Push and pop can be called from any thread, but not from an interrupt. The lock is only held while copying an item, never while the caller handles it. More...
 

Namespaces

namespace  lampda
 Program scope.
 
namespace  lampda::utils
 Utility function and classes.
 

Detailed Description

Fixed capacity queue, safe to share between threads.