The programmer defines a set of tasks , each task gets its turn to `` run '' , when it finsh it calls a routine to run the next task . The programmer defines a series of tasks , and each task gets its own environment to â runâ in .