.
  vTaskStartScheduler();
                  ..
                  ..
  // some task calls  vTaskEndScheduler();
Calling vTaskStartScheduler and vTaskEndScheduler
Hi,
Is it possible to have something like:
int main() {
    vTaskStartScheduler();
                .
                .
    // some task calls vTaskEndScheduler();
Calling vTaskStartScheduler and vTaskEndScheduler
Very few ports implement vTaskEndScheduler(), perhaps only the Windows 
and DOS ports.  I think in the Windows case ending the scheduler 
terminates the process, so code after vTaskStartScheduler() will never 
run.  I can’t recall what happens in the DOS case as the port is about 
15 years old but I think FreeRTOS replaces DOS in memory and then uses a 
setjmp/lngjmp pair to exit the scheduler – not sure where it goes from 
there though.
 
  