summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-14 19:30:31 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-14 19:30:31 +0000
commite135573acc348649e767ca67a1ec189fe4e0fcda (patch)
treeb34f7d2914cba8aeb9311c5bae3771af40054640 /nuttx/sched/pthread_internal.h
parentd76fa866ad009d65396acf1aa08fcffd3b4b041e (diff)
downloadpx4-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/pthread_internal.h')
-rw-r--r--nuttx/sched/pthread_internal.h27
1 files changed, 12 insertions, 15 deletions
diff --git a/nuttx/sched/pthread_internal.h b/nuttx/sched/pthread_internal.h
index 6d8961e37..ca70ab291 100644
--- a/nuttx/sched/pthread_internal.h
+++ b/nuttx/sched/pthread_internal.h
@@ -2,7 +2,7 @@
* sched/pthread_internal.h
*
* 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
@@ -57,13 +57,11 @@
* Public Type Declarations
****************************************************************************/
-/* The following defines an entry in the pthread logic's
- * local data set. Note that this structure is used to
- * implemented a singly linked list. This structure
- * is used (instead of, say, a binary search tree) because
- * the data set will be searched using the pid as
- * a key -- a process IDs will always be created in a
- * montonically increasing fashion.
+/* The following defines an entry in the pthread logic's local data set.
+ * Note that this structure is used to implemented a singly linked list.
+ * This structure is used (instead of, say, a binary search tree) because
+ * the data set will be searched using the pid as a key -- a process IDs will
+ * always be created in a montonically increasing fashion.
*/
struct join_s
@@ -79,28 +77,27 @@ struct join_s
pthread_addr_t exit_value; /* Returned data */
};
+
typedef struct join_s join_t;
/****************************************************************************
* Public Variables
****************************************************************************/
-/* This is the head of a private singly linked list. It
- * is used to retain information about the spawned threads.
+/* This is the head of a private singly linked list. It is used to retain
+ * information about the spawned threads.
*/
extern FAR join_t *g_pthread_head;
extern FAR join_t *g_pthread_tail;
-/* Mutually exclusive access to this data set is enforced with
- * the following (un-named) semaphore.
+/* Mutually exclusive access to this data set is enforced with the following
+ * (un-named) semaphore.
*/
extern sem_t g_join_semaphore;
-/* This keys track of the number of global keys that have been
- * allocated.
- */
+/* This keys track of the number of global keys that have been allocated. */
extern uint8_t g_pthread_num_keys;