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:
Masayuki Ishikawa 2018-08-06 03:36:14 +00:00 committed by GregoryN
parent 4e5cf1229c
commit 651f5e2622

View File

@ -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 */
group->tg_bininfo = bininfo;
spin_unlock_irqrestore(flags);
return OK;
}