Contents

thread_call_enter

Submit a thread call work item for immediate execution.

Declaration

boolean_t thread_call_enter(thread_call_t call);

Parameters

  • call:

    The thread call to execute.

Return Value

TRUE if the call was already pending for either delayed or immediate execution, FALSE otherwise.

Discussion

If the work item is already scheduled for delayed execution, and it has not yet begun to run, that delayed invocation will be cancelled. Note that if a thread call is rescheduled from its own callback, then multiple invocations of the callback may be in flight at the same time.

See Also

Thread