setTaskCreationCallback

Sets a callback that is invoked whenever new task is created.

The callback is guaranteed to be invoked before the one set by setTaskEventCallback for the same task handle.

This function is useful mostly for implementing debuggers that analyze the life time of tasks, including task switches. Note that the callback will only be called for debug builds.

void
setTaskCreationCallback
(
TaskCreationCallback func
)

Meta