mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Added a test of posix_spawn()
git-svn-id: svn://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