| 8 | namespace skr |
| 9 | { |
| 10 | ServiceThread::ServiceThread(const ServiceThreadDesc& desc) SKR_NOEXCEPT |
| 11 | : status_(kStatusStopped) |
| 12 | { |
| 13 | f._service = this; |
| 14 | |
| 15 | NamedThreadDesc tDesc = {}; |
| 16 | tDesc.name = desc.name; |
| 17 | tDesc.priority = desc.priority; |
| 18 | tDesc.stack_size = 16 * 1024; |
| 19 | t.initialize(tDesc); |
| 20 | } |
| 21 | |
| 22 | ServiceThread::~ServiceThread() SKR_NOEXCEPT |
| 23 | { |
nothing calls this directly
no test coverage detected