FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [March 2007 Threads] xPendingReadyList help?Posted by a_shawky on March 25, 2007 Dear All,
Can you kindly tell me why when the schedular is suspended the recent readied task is put in xPendingReadyList list not in the ready queue directly?
and what will happen if we put it directly on the ready queue?
best regards
ashawky
RE: xPendingReadyList help?Posted by Nobody/Anonymous on March 25, 2007 When the scheduler is suspended a context switch must not be performed but as interrupts remain enabled it is possible that a task is unblocked. A task that unblocks when the scheduler is suspended is therefore placed into the pending ready list until such time that the scheduler is unsuspended. When the scheduler is unsuspended any 'pending' ready tasks are moved the the ready state.
Dave.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|