Skip to content
Commit d812f254 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

sched/sched_releasetcb.c: Fix an error handling case where a pthread start-up...

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
parent 1027d9f7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment