]> git.sur5r.net Git - freertos/commit
When creating a task - move where the task handle is assigned to the function paramet...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 21 Sep 2010 21:10:41 +0000 (21:10 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 21 Sep 2010 21:10:41 +0000 (21:10 +0000)
commitac565d4fc3997c660db7c41a808968a7983d89f2
tree46989c62829015f22a4fceb3138c216f164e245e
parentf6d5f4515f314b85ffa64d63ece7d5ef33f1c4e1
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1115 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Source/tasks.c