summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_exit.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-26 16:24:43 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-26 16:24:43 +0000
commit2f898df5ff183d891d185f75003c41e6c7867686 (patch)
treee948ed86f4ebc9b8772c7a660ce0c1cc5df03196 /nuttx/sched/pthread_exit.c
parent787c07292b3d5193397d7a1f90856c72a5211acc (diff)
downloadpx4-nuttx-2f898df5ff183d891d185f75003c41e6c7867686.tar.gz
px4-nuttx-2f898df5ff183d891d185f75003c41e6c7867686.tar.bz2
px4-nuttx-2f898df5ff183d891d185f75003c41e6c7867686.zip
Fix an PIC32 error in scheduling of signal handlers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4229 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/pthread_exit.c')
-rw-r--r--nuttx/sched/pthread_exit.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/nuttx/sched/pthread_exit.c b/nuttx/sched/pthread_exit.c
index c320bbb10..31ac62362 100644
--- a/nuttx/sched/pthread_exit.c
+++ b/nuttx/sched/pthread_exit.c
@@ -1,8 +1,8 @@
/************************************************************************
* sched/pthread_exit.c
*
- * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -45,7 +45,9 @@
#include <pthread.h>
#include <errno.h>
#include <debug.h>
+
#include <nuttx/arch.h>
+
#include "pthread_internal.h"
/************************************************************************
@@ -111,7 +113,7 @@ void pthread_exit(FAR void *exit_value)
status = pthread_completejoin(getpid(), exit_value);
if (status != OK)
{
- /* Assume that the join completion failured becuase this
+ /* Assume that the join completion failured because this
* not really a pthread. Exit by calling exit() to flush
* and close all file descriptors and calling atexit()
* functions.