R3FindTask

FUNCTION:

R3FindTask

TEMPLATE:

R3OBJ *R3FindTask(char *name);

PARAMETERS:

name - name of the task (thread) or NULL for the current thread

RETURN VALUE:

Task (thread) object

DESCRIPTION:

Attemps to find thread of given name. If 'name' is NULL, current thread is returned and the function cannot fail. The TASK class keeps track of all created tasks and this function. is simply calls: R3SendClassMsgA(R3CLID_TASK, R3TCM_FIND_TASK, name);