Cicode Programming Reference > Cicode Function Categories > Task Functions Introduction > TaskResume

TaskResume

Resumes a task that was suspended by the TaskSuspend() function. After a task is resumed, it runs on the next time-slice.

Syntax

TaskResume(hTask)

hTask:

The task handle, returned from the TaskNew() or TaskHnd() function. The task handle identifies the table where all data on the associated task is stored.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

TaskHnd, TaskKill, TaskSuspend, TaskNew

Example

TaskResume(hTask);

See Also

Task Functions