Skip to main content

block_server_thread

Function block_server_thread 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn block_server_thread(arg: *const c_void)
Expand description

Runs the main loop to handle FIDL requests for the block server. Blocks until the server is shutting down.

After this returns, the caller must call block_server_thread_release on the same thread.

ยงSafety

arg must be the value passed to the start_thread callback.