summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/machine/rtems-bsd-mutex.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-30 10:41:34 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-05-20 09:58:21 +0200
commitb3ff71e0039acb1a1b4fecb02479dc8a3d91ac68 (patch)
treeb67d53ab3335aee8d271fcced9f9b58b79f25d0d /rtemsbsd/include/machine/rtems-bsd-mutex.h
parentUpdate to FreeBSD Stable/9 2015-04-08 (diff)
downloadrtems-libbsd-b3ff71e0039acb1a1b4fecb02479dc8a3d91ac68.tar.bz2
rtems-bsd-mutex: Use standard thread queues
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-mutex.h')
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-mutex.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-mutex.h b/rtemsbsd/include/machine/rtems-bsd-mutex.h
index d1879ce9..8c1638bb 100644
--- a/rtemsbsd/include/machine/rtems-bsd-mutex.h
+++ b/rtemsbsd/include/machine/rtems-bsd-mutex.h
@@ -40,19 +40,17 @@
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_MUTEX_H_
#define _RTEMS_BSD_MACHINE_RTEMS_BSD_MUTEX_H_
-#include <rtems/score/isrlock.h>
-#include <rtems/score/rbtree.h>
#include <rtems/score/thread.h>
+#include <rtems/score/threadq.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef struct {
- ISR_LOCK_MEMBER(lock)
+ Thread_queue_Control queue;
Thread_Control *owner;
int nest_level;
- RBTree_Control rivals;
} rtems_bsd_mutex;
#ifdef __cplusplus