flipperzero_sys

Function furi_thread_flags_set

Source
pub unsafe extern "C" fn furi_thread_flags_set(
    thread_id: FuriThreadId,
    flags: u32,
) -> u32
Expand description

Set the thread flags of a FuriThread.

Can be used as a simple inter-thread communication mechanism.

§Arguments

  • thread_id (direction in) - unique identifier of the thread to be notified
  • flags (direction in) - bitmask of thread flags to set

§Returns

bitmask combination of previous and newly set flags