Finds a task by name.
Item FindTask( const char *name )
This macro finds a task with the specified name. The search is not case-sensitive (that is, the kernel does not distinguish uppercase and lowercase letters in task names). You can use this macro in place of FindNamedItem()
to find a task.
The macro returns the item number of the task that was found or an error code if an error occurs.
Macro implemented in task.h V20.
CreateThread
()