mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 04:31:38 +08:00
Added a test of posix_spawn()
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5507 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -107,7 +107,7 @@ void exec_getsymtab(FAR struct symtab_s **symtab, FAR int *nsymbols)
|
||||
* size are returned as a single atomic operation.
|
||||
*/
|
||||
|
||||
flags = irqsave();
|
||||
flags = irqsave();
|
||||
*symtab = g_exec_symtab;
|
||||
*nsymbols = g_exec_nsymbols;
|
||||
irqrestore(flags);
|
||||
@@ -138,8 +138,8 @@ void exec_setsymtab(FAR const struct symtab_s *symtab, int nsymbols)
|
||||
* size are set as a single atomic operation.
|
||||
*/
|
||||
|
||||
flags = irqsave();
|
||||
g_exec_symtab = symtab;
|
||||
flags = irqsave();
|
||||
g_exec_symtab = symtab;
|
||||
g_exec_nsymbols = nsymbols;
|
||||
irqrestore(flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user