Synopsis:
task_getpid()
Arguments:
none
Description: This call returns the task ID (otherwise know as the process ID) of the calling task. This can be used so a task can send a hangup signal to itself to force a jump to onsignal:
task_hangup(task_getpid());
Return Value:
Returns the task ID of the calling task.