diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-10-27 17:22:28 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-10-27 17:22:28 -0600 |
commit | baf7d677fec77c265d82f36bfe8da5de4fe04ce8 (patch) | |
tree | a435e58046bb5550afc836fa3dfdb82596e59d07 /apps/examples/relays | |
parent | 49ac6884942726eb23daff0648a4f1c9d4df59e5 (diff) | |
download | nuttx-baf7d677fec77c265d82f36bfe8da5de4fe04ce8.tar.gz nuttx-baf7d677fec77c265d82f36bfe8da5de4fe04ce8.tar.bz2 nuttx-baf7d677fec77c265d82f36bfe8da5de4fe04ce8.zip |
sched/sched_releasetcb.c: Fix an error handling case where a pthread start-up fails early, before the task type has been saved in the TCB. It is safer to use the sched_releasetcb() task type argument instead of relying on the task type in the TCB to be valid. Reported by David Sidrane
Diffstat (limited to 'apps/examples/relays')
0 files changed, 0 insertions, 0 deletions