Merged in masayuki2009/nuttx.nuttx/fix_loadable_elf_with_smp (pull request #706)
sched/group: Fix a deadlock when loading an ELF Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
parent
4e5cf1229c
commit
651f5e2622
@ -101,6 +101,8 @@ int group_exitinfo(pid_t pid, FAR struct binary_s *bininfo)
|
|||||||
/* Save the binary info for use when the task exits */
|
/* Save the binary info for use when the task exits */
|
||||||
|
|
||||||
group->tg_bininfo = bininfo;
|
group->tg_bininfo = bininfo;
|
||||||
|
|
||||||
|
spin_unlock_irqrestore(flags);
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user