riot_sys::bindgen

Function gnrc_netreg_acquire_shared

Source
pub unsafe extern "C" fn gnrc_netreg_acquire_shared()
Expand description

@brief Acquire a shared lock on the GNRC netreg

This needs to be held around all calls to @ref gnrc_netreg_lookup, and for as long as any of its results are used. After that, call @ref gnrc_netreg_release_shared.