mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 00:33:33 +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:
@@ -53,8 +53,8 @@
|
||||
#include <nuttx/arch.h>
|
||||
|
||||
#include "os_internal.h"
|
||||
#include "group_internal.h"
|
||||
#include "clock_internal.h"
|
||||
#include "env_internal.h"
|
||||
#include "pthread_internal.h"
|
||||
|
||||
/****************************************************************************
|
||||
@@ -305,10 +305,6 @@ int pthread_create(FAR pthread_t *thread, FAR pthread_attr_t *attr,
|
||||
goto errout_with_tcb;
|
||||
}
|
||||
|
||||
/* Share the parent's envionment */
|
||||
|
||||
(void)env_share(ptcb);
|
||||
|
||||
/* Allocate a detachable structure to support pthread_join logic */
|
||||
|
||||
pjoin = (FAR join_t*)kzalloc(sizeof(join_t));
|
||||
|
||||
Reference in New Issue
Block a user