| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // ====================================================================== | ||
| 2 | // \title Os/Stub/test/DefaultTask.cpp | ||
| 3 | // \brief sets default Os::Task to test stub implementation via linker | ||
| 4 | // ====================================================================== | ||
| 5 | #include <sys/time.h> | ||
| 6 | #include <cerrno> | ||
| 7 | #include "Os/Delegate.hpp" | ||
| 8 | #include "Os/Stub/Task.hpp" | ||
| 9 | #include "Os/Task.hpp" | ||
| 10 | |||
| 11 | namespace Os { | ||
| 12 | 1 | TaskInterface* TaskInterface::getDelegate(TaskHandleStorage& aligned_new_memory) { | |
| 13 | 1 | return Os::Delegate::makeDelegate<TaskInterface, Os::Stub::Task::StubTask>(aligned_new_memory); | |
| 14 | } | ||
| 15 | |||
| 16 | } // namespace Os | ||
| 17 |