Remove trailing whitespace (#3668)

This commit is contained in:
John Vandenberg
2022-07-07 17:18:20 +08:00
committed by GitHub
parent 0af9524e16
commit 0e6e16645c
1330 changed files with 23570 additions and 23571 deletions

View File

@@ -56,10 +56,10 @@ public:
RWLock();
/// Creates the Reader/Writer lock.
~RWLock();
/// Destroys the Reader/Writer lock.
void readLock();
/// Acquires a read lock. If another thread currently holds a write lock,
/// waits until the write lock is released.
@@ -69,13 +69,13 @@ public:
/// false if another thread currently holds a write lock.
void writeLock();
/// Acquires a write lock. If one or more other threads currently hold
/// Acquires a write lock. If one or more other threads currently hold
/// locks, waits until all locks are released. The results are undefined
/// if the same thread already holds a read or write lock
bool tryWriteLock();
/// Tries to acquire a write lock. Immediately returns true if successful,
/// or false if one or more other threads currently hold
/// or false if one or more other threads currently hold
/// locks. The result is undefined if the same thread already
/// holds a read or write lock.