(struct loc_RWLock_t): Rename struct loc_RWLock_t to struct loc_RWLock
as the struct loc_RWLock_t is not a typedef. No functional changes.
This commit is contained in:
parent
c4cf0231ee
commit
68662df96a
2 changed files with 3 additions and 3 deletions
|
@ -112,7 +112,7 @@ typedef struct empth_rwlock_t empth_rwlock_t;
|
||||||
|
|
||||||
typedef struct loc_Thread empth_t;
|
typedef struct loc_Thread empth_t;
|
||||||
typedef struct loc_Sem empth_sem_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);
|
void empth_request_shutdown(void);
|
||||||
#endif /* EMPTH_W32 */
|
#endif /* EMPTH_W32 */
|
||||||
|
|
|
@ -109,7 +109,7 @@ struct loc_Sem {
|
||||||
};
|
};
|
||||||
|
|
||||||
/************************
|
/************************
|
||||||
* loc_RWLock_t
|
* loc_RWLock
|
||||||
*
|
*
|
||||||
* Invariants
|
* Invariants
|
||||||
* must hold at function call, return, sleep
|
* must hold at function call, return, sleep
|
||||||
|
@ -147,7 +147,7 @@ struct loc_Sem {
|
||||||
* thread changing it holds hThreadMutex.
|
* thread changing it holds hThreadMutex.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
struct loc_RWLock_t {
|
struct loc_RWLock {
|
||||||
char name[17]; /* The thread name, passed in at create time. */
|
char name[17]; /* The thread name, passed in at create time. */
|
||||||
HANDLE can_read; /* Manual event -- allows read locks */
|
HANDLE can_read; /* Manual event -- allows read locks */
|
||||||
HANDLE can_write; /* Auto-reset event -- allows write locks */
|
HANDLE can_write; /* Auto-reset event -- allows write locks */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue