Constructs a new thread object. Memory is allocated for the thread, but the thread is not started. Argument stacksize# is used by the COTHREADS# model only for specifying the amount of memory needed for the processor stack. A negative value will be replaced by a suitable default value of 128Kb. A minimum value of 32Kb is silently enforced.