Contents

thread_call_allocate_with_priority

Allocate a thread call to execute with a specified priority.

Declaration

thread_call_t thread_call_allocate_with_priority(thread_call_func_t func, thread_call_param_t param0, thread_call_priority_t pri);

Parameters

  • func:

    Callback to invoke when thread call is scheduled.

  • param0:

    First argument to pass to callback.

  • pri:

    Priority of item.

Return Value

Thread call which can be passed to thread_call_enter variants.

Discussion

Identical to thread_call_allocate, except that priority is specified by caller.

See Also

Thread