This is an automated email from the ASF dual-hosted git repository. gnutt pushed a commit to branch feature/pthread-user in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 5c98c88d55bf7daa80e9da9f3b370ac950fc95ef Author: Gustavo Henrique Nihei <[email protected]> AuthorDate: Tue Jun 30 10:59:35 2020 -0600 Correct/Improve some comments Update arch/arm/src/armv6-m/arm_svcall.c Update libs/libc/pthread/pthread_create.c Update libs/libc/pthread/pthread_create.c Update sched/pthread/pthread_create.c Update sched/pthread/pthread_create.c Update libs/libc/pthread/pthread_create.c Update sched/pthread/pthread_create.c --- arch/arm/src/armv6-m/arm_svcall.c | 2 +- libs/libc/pthread/pthread_create.c | 6 +++--- sched/pthread/pthread_create.c | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/src/armv6-m/arm_svcall.c b/arch/arm/src/armv6-m/arm_svcall.c index 7af07ad..930c1dc 100644 --- a/arch/arm/src/armv6-m/arm_svcall.c +++ b/arch/arm/src/armv6-m/arm_svcall.c @@ -325,7 +325,7 @@ int arm_svcall(int irq, FAR void *context, FAR void *arg) regs[REG_EXC_RETURN] = EXC_RETURN_UNPRIVTHR; /* Change the parameter ordering to match the expectation of the - * useri space pthread_startup: + * user space pthread_startup: */ regs[REG_R0] = regs[REG_R2]; /* pthread entry */ diff --git a/libs/libc/pthread/pthread_create.c b/libs/libc/pthread/pthread_create.c index 9563016..d091333 100644 --- a/libs/libc/pthread/pthread_create.c +++ b/libs/libc/pthread/pthread_create.c @@ -34,8 +34,8 @@ * Name: pthread_startup * * Description: - * This function is the user-space, pthread startup function. Its purpose - * is to to catch the return from the pthread main function so that + * This function is the user space pthread startup function. Its purpose + * is to catch the return from the pthread main function so that * pthread_exit() can be called from user space * * Input Parameters: @@ -65,7 +65,7 @@ static void pthread_startup(pthread_startroutine_t entry, * Name: pthread_create * * Description: - * This function creates and activates a new thread with a specified + * This function creates and activates a new thread with specified * attributes. It is simply a wrapper around the nx_pthread_create system * call. * diff --git a/sched/pthread/pthread_create.c b/sched/pthread/pthread_create.c index fbf3dc9..58ef313 100644 --- a/sched/pthread/pthread_create.c +++ b/sched/pthread/pthread_create.c @@ -66,7 +66,7 @@ const pthread_attr_t g_default_pthread_attr = PTHREAD_ATTR_INITIALIZER; * Name: pthread_tcb_setup * * Description: - * This functions sets up parameters in the Task Control Block (TCB) in + * This function sets up parameters in the Task Control Block (TCB) in * preparation for starting a new thread. * * pthread_tcb_setup() is called from nxtask_init() and nxtask_start() to @@ -76,7 +76,7 @@ const pthread_attr_t g_default_pthread_attr = PTHREAD_ATTR_INITIALIZER; * * Input Parameters: * tcb - Address of the new task's TCB - * startup - User-space pthread startup function + * startup - User space pthread startup function * arg - The argument to provide to the pthread on startup. * * Returned Value: @@ -204,7 +204,7 @@ static void pthread_start(void) * Name: nx_pthread_create * * Description: - * This function creates and activates a new thread with a specified + * This function creates and activates a new thread with specified * attributes. * * Input Parameters:
