pub unsafe extern "C" fn furi_event_loop_subscribe_mutex(
instance: *mut FuriEventLoop,
mutex: *mut FuriMutex,
event: FuriEventLoopEvent,
callback: FuriEventLoopEventCallback,
context: *mut c_void,
)Expand description
Subscribe to mutex events
you can only have one subscription for one event type.
ยงArguments
instance- The Event Loop instancemutex- The mutex to addevent(direction in) - The Event Loop event to trigger oncallback(direction in) - The callback to call on eventcontext- The context for callback