Task constructors are routines intended for creating a new task descriptor and setting up basic parameters.
If the constructor fails to create a task descriptor, it returns the NULL task pointer.