nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_rpc_os_thread_pool_send()

void nrf_rpc_os_thread_pool_send ( const uint8_t * data,
size_t len )

#include <nrf_rpc/template/nrf_rpc_os_tmpl.h>

Send work to a thread pool.

Function reserves a thread from a thread pool and executes callback provided in nrf_rpc_os_init with data and len paramteres. If there is no thread available in the thread pool then this function waits.

Parameters
dataData pointer to pass. Data is passed as a pointer, no copying is done.
lenLength of the data.