aboutsummaryrefslogtreecommitdiff
path: root/nuttx/sched/sem_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sem_internal.h')
-rw-r--r--nuttx/sched/sem_internal.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/nuttx/sched/sem_internal.h b/nuttx/sched/sem_internal.h
index b67e506bf..4688e0cae 100644
--- a/nuttx/sched/sem_internal.h
+++ b/nuttx/sched/sem_internal.h
@@ -1,8 +1,8 @@
/****************************************************************************
* sched/sem_internal.h
*
- * Copyright (C) 2007, 2009-2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Copyright (C) 2007, 2009-2012 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
@@ -89,10 +89,16 @@ extern "C" {
#define EXTERN extern
#endif
+/* Common semaphore logic */
+
EXTERN void weak_function sem_initialize(void);
EXTERN void sem_waitirq(FAR _TCB *wtcb, int errcode);
EXTERN FAR nsem_t *sem_findnamed(const char *name);
+/* Special logic needed only by priority inheritance to manage collections of
+ * holders of semaphores.
+ */
+
#ifdef CONFIG_PRIORITY_INHERITANCE
EXTERN void sem_initholders(void);
EXTERN void sem_destroyholder(FAR sem_t *sem);