2.6. TASK

Format:


        PRAGMA TASK cexpr
      
Set the maximum concurrent task count to cexpr. It is generally better to set this in your program, instead of doing so with the compiler option ("-tasks") as it is unlikely to change.

nb: When multiple tasks are used, the main task requires one task slot.