diff options
Diffstat (limited to 'pw_system/stl_target_hooks.cc')
-rw-r--r-- | pw_system/stl_target_hooks.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pw_system/stl_target_hooks.cc b/pw_system/stl_target_hooks.cc index 048153d4c..e470a97af 100644 --- a/pw_system/stl_target_hooks.cc +++ b/pw_system/stl_target_hooks.cc @@ -12,6 +12,7 @@ // License for the specific language governing permissions and limitations under // the License. +#include "pw_system/config.h" #include "pw_thread/thread.h" #include "pw_thread_stl/options.h" @@ -27,6 +28,13 @@ const thread::Options& RpcThreadOptions() { return rpc_thread_options; } +#if PW_SYSTEM_ENABLE_TRANSFER_SERVICE +const thread::Options& TransferThreadOptions() { + static thread::stl::Options transfer_thread_options; + return transfer_thread_options; +} +#endif // PW_SYSTEM_ENABLE_TRANSFER_SERVICE + const thread::Options& WorkQueueThreadOptions() { static thread::stl::Options work_queue_thread_options; return work_queue_thread_options; |