diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-30 21:59:12 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-30 21:59:12 +0000 |
commit | 6706284921ae317e32f5e391d401f8eaa3d6e3a5 (patch) | |
tree | 24bf36306b92e1b6f6b01c4acdec3e7abeae9f2c /nuttx/sched/pthread_condtimedwait.c | |
parent | 013eef130f1bc2cab1e3f4022d8498fb98bb29bf (diff) | |
download | px4-nuttx-6706284921ae317e32f5e391d401f8eaa3d6e3a5.tar.gz px4-nuttx-6706284921ae317e32f5e391d401f8eaa3d6e3a5.tar.bz2 px4-nuttx-6706284921ae317e32f5e391d401f8eaa3d6e3a5.zip |
Fix z16f addressing issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@592 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/pthread_condtimedwait.c')
-rw-r--r-- | nuttx/sched/pthread_condtimedwait.c | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/nuttx/sched/pthread_condtimedwait.c b/nuttx/sched/pthread_condtimedwait.c index d4d607bd7..32a3d550b 100644 --- a/nuttx/sched/pthread_condtimedwait.c +++ b/nuttx/sched/pthread_condtimedwait.c @@ -1,7 +1,7 @@ -/************************************************************ - * pthread_condtimedwait.c +/**************************************************************************** + * sched/pthread_condtimedwait.c * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -31,11 +31,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ #include <nuttx/compiler.h> #include <sys/types.h> @@ -50,27 +50,27 @@ #include "pthread_internal.h" #include "clock_internal.h" -/************************************************************ +/**************************************************************************** * Definitions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Type Declarations - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Global Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Variables - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Private Functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Function: pthread_condtimedout * * Description: @@ -87,7 +87,7 @@ * * Assumptions: * - ************************************************************/ + ****************************************************************************/ static void pthread_condtimedout(int argc, uint32 pid, uint32 signo, ...) { @@ -103,11 +103,11 @@ static void pthread_condtimedout(int argc, uint32 pid, uint32 signo, ...) #endif } -/************************************************************ +/**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ -/************************************************************ +/**************************************************************************** * Function: pthread_cond_timedwait * * Description: @@ -126,10 +126,10 @@ static void pthread_condtimedout(int argc, uint32 pid, uint32 signo, ...) * Timing is of resolution 1 msec, with +/-1 millisecond * accuracy. * - ************************************************************/ + ****************************************************************************/ -int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, - const struct timespec *abstime) +int pthread_cond_timedwait(FAR pthread_cond_t *cond, FAR pthread_mutex_t *mutex, + FAR const struct timespec *abstime) { WDOG_ID wdog; sint32 ticks; |