MCPcopy Create free account
hub / github.com/dds-bridge/dds / prefer_threading

Method prefer_threading

library/src/system/system.cpp:296–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294
295
296int System::prefer_threading(const unsigned code)
297{
298 if (code >= DDS_SYSTEM_THREAD_SIZE)
299 return RETURN_THREAD_MISSING;
300
301 if (! available_system_[code])
302 return RETURN_THREAD_MISSING;
303
304 preferred_system_ = code;
305 return RETURN_NO_FAULT;
306}
307
308
309//////////////////////////////////////////////////////////////////////

Callers 1

SetThreadingFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected