Skip to content

Commit

Permalink
nrf_rpc: remove unused APIs from OS template
Browse files Browse the repository at this point in the history
OS template contains nrf_rpf_os_remote_XXX APIs that are
neither used nor implemented by concrete OS layers.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
  • Loading branch information
Damian-Nordic authored and rlubos committed Nov 20, 2024
1 parent 4f3ed25 commit 96bb591
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions nrf_rpc/template/nrf_rpc_os_tmpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,29 +156,6 @@ uint32_t nrf_rpc_os_ctx_pool_reserve();
*/
void nrf_rpc_os_ctx_pool_release(uint32_t index);

/** @brief Set number of remote threads.
*
* Number of remote threads that can be reserved by
* @ref nrf_rpc_os_remote_reserve is limited by `count` parameter.
* After initialization `count` is assumed to be zero.
*
* @param count Number of remote threads.
*/
void nrf_rpc_os_remote_count(int count);

/** @brief Reserve one thread from a remote thread pool.
*
* If there are no more threads available or @ref nrf_rpc_os_remote_count was
* not called yet then this function waits.
*
* Remote thread reserving and releasing can be implemented using a semaphore.
*/
void nrf_rpc_os_remote_reserve();

/** @brief Release one thread from a remote thread pool.
*/
void nrf_rpc_os_remote_release();

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 96bb591

Please sign in to comment.