diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-14 19:30:31 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-14 19:30:31 +0000 |
commit | e135573acc348649e767ca67a1ec189fe4e0fcda (patch) | |
tree | b34f7d2914cba8aeb9311c5bae3771af40054640 /nuttx/sched/mq_timedsend.c | |
parent | d76fa866ad009d65396acf1aa08fcffd3b4b041e (diff) | |
download | px4-nuttx-e135573acc348649e767ca67a1ec189fe4e0fcda.tar.gz px4-nuttx-e135573acc348649e767ca67a1ec189fe4e0fcda.tar.bz2 px4-nuttx-e135573acc348649e767ca67a1ec189fe4e0fcda.zip |
Fix STM32 F2/F4 SDIO clocking; Clean-up files in sched/ directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4940 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/mq_timedsend.c')
-rw-r--r-- | nuttx/sched/mq_timedsend.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/nuttx/sched/mq_timedsend.c b/nuttx/sched/mq_timedsend.c index 4f329d311..745cc6272 100644 --- a/nuttx/sched/mq_timedsend.c +++ b/nuttx/sched/mq_timedsend.c @@ -2,7 +2,7 @@ * sched/mq_timedsend.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * 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 @@ -74,7 +74,7 @@ ****************************************************************************/ /**************************************************************************** - * Function: mq_sndtimeout + * Name: mq_sndtimeout * * Description: * This function is called if the timeout elapses before the message queue @@ -96,15 +96,14 @@ static void mq_sndtimeout(int argc, uint32_t pid) FAR _TCB *wtcb; irqstate_t saved_state; - /* Disable interrupts. This is necessary because an - * interrupt handler may attempt to send a message while we are - * doing this. + /* Disable interrupts. This is necessary because an interrupt handler may + * attempt to send a message while we are doing this. */ saved_state = irqsave(); - /* Get the TCB associated with this pid. It is possible that - * task may no longer be active when this watchdog goes off. + /* Get the TCB associated with this pid. It is possible that task may no + * longer be active when this watchdog goes off. */ wtcb = sched_gettcb((pid_t)pid); @@ -130,7 +129,7 @@ static void mq_sndtimeout(int argc, uint32_t pid) ****************************************************************************/ /**************************************************************************** - * Function: mq_send + * Name: mq_send * * Description: * This function adds the specificied message (msg) to the message queue |