1 #ifndef _ROSRTL_RECMUTEX_H
2 #define _ROSRTL_RECMUTEX_H
4 typedef struct _RECURSIVE_MUTEX
{
7 /* Number of times this object was locked */
11 /* Notification event which signals that another thread can take over */
12 KEVENT StateLockedEvent
;
13 } RECURSIVE_MUTEX
, *PRECURSIVE_MUTEX
;
15 extern VOID
RecursiveMutexInit( PRECURSIVE_MUTEX RecMutex
);
16 extern VOID
RecursiveMutexEnter( PRECURSIVE_MUTEX RecMutex
);
17 extern VOID
RecursiveMutexLeave( PRECURSIVE_MUTEX RecMutex
);
19 #define ASSERT_LOCKED(x)
21 #endif/*_ROSRTL_RECMUTEX_H*/