mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 05:53:34 +08:00
Move environment variables in the task group structure
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5565 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
#include <nuttx/sched.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "env_internal.h"
|
||||
#include "group_internal.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@@ -132,10 +132,6 @@ FAR _TCB *task_vforksetup(start_t retaddr)
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Clone the parent's task environment */
|
||||
|
||||
(void)env_dup(child);
|
||||
|
||||
/* Get the priority of the parent task */
|
||||
|
||||
#ifdef CONFIG_PRIORITY_INHERITANCE
|
||||
|
||||
Reference in New Issue
Block a user