| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // ====================================================================== | ||
| 2 | // \title Os/Generic/DefaultLocklessPriorityQueue.cpp | ||
| 3 | // \brief sets default Os::Queue to the lockless priority queue implementation via linker | ||
| 4 | // ====================================================================== | ||
| 5 | #include "Os/Delegate.hpp" | ||
| 6 | #include "Os/Generic/LocklessPriorityQueue.hpp" | ||
| 7 | #include "Os/Queue.hpp" | ||
| 8 | |||
| 9 | namespace Os { | ||
| 10 | 200 | QueueInterface* QueueInterface::getDelegate(QueueHandleStorage& aligned_new_memory) { | |
| 11 | 200 | return Os::Delegate::makeDelegate<QueueInterface, Os::Generic::LocklessPriorityQueue, QueueHandleStorage>( | |
| 12 | 200 | aligned_new_memory); | |
| 13 | } | ||
| 14 | } // namespace Os | ||
| 15 |