as the struct loc_RWLock_t is not a typedef. No functional changes.
typedef struct loc_Thread empth_t;
typedef struct loc_Sem empth_sem_t;
-typedef struct loc_RWLock_t empth_rwlock_t;
+typedef struct loc_RWLock empth_rwlock_t;
void empth_request_shutdown(void);
#endif /* EMPTH_W32 */
};
/************************
- * loc_RWLock_t
+ * loc_RWLock
*
* Invariants
* must hold at function call, return, sleep
* thread changing it holds hThreadMutex.
*
*/
-struct loc_RWLock_t {
+struct loc_RWLock {
char name[17]; /* The thread name, passed in at create time. */
HANDLE can_read; /* Manual event -- allows read locks */
HANDLE can_write; /* Auto-reset event -- allows write locks */