Quality RTOS & Embedded Software

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


Loading

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 ]    [ Privacy ]    [ Sitemap ]    [ ]


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

Latest News

Version 10.1.0 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner