This initial vfork() check-in was a little pollyanna-ish

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5487 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2013-01-07 19:35:47 +00:00
parent 876062fe3a
commit a5f001189e
24 changed files with 598 additions and 75 deletions
+2
View File
@@ -169,6 +169,8 @@ static int thread_create(const char *name, uint8_t type, int priority,
ret = task_activate(tcb);
if (ret != OK)
{
/* The TCB was added to the active task list by task_schedsetup() */
dq_rem((FAR dq_entry_t*)tcb, (dq_queue_t*)&g_inactivetasks);
goto errout_with_tcb;
}