Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Is it possible to suspend tasks before start scheduler

Posted by markwrichardson on April 16, 2014

I was hoping I could create a few tasks and then suspend some of them before starting the scheduler. They would be resumed after initialization. Is this valid?

I can always block them with a flag until the initialized is finished. I like the looks of the former better.

Additionally I'm wondering about adjusting timing or priority while suspended or before scheduler just to complete the discussion. Can tasks be created after the scheduler starts?

Is it possible to suspend tasks before start scheduler

Posted by edwards3 on April 16, 2014

You can create a task then suspend it before calling vTaskStartScheduler().

[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS