]> begriffs open source - freertos/commit
When creating a task - move where the task handle is assigned to the function paramet...
authorRichard Barry <ribarry@amazon.com>
Tue, 21 Sep 2010 21:10:41 +0000 (21:10 +0000)
committerRichard Barry <ribarry@amazon.com>
Tue, 21 Sep 2010 21:10:41 +0000 (21:10 +0000)
commitf052e7c00fb45e1f79ccd59dd52f0d72fef70c88
tree46989c62829015f22a4fceb3138c216f164e245e
parent1ec24e1d46567dd12933e7b62215ed37f0dc4e4f
When creating a task - move where the task handle is assigned to the function parameter from after the critical section.  This allows the handle to be assigned to a global variable, and the global variable to be access by the task being created should the task being created execute immediately that the critical section is exited.
Source/tasks.c