Release the write lock and return. An error will be thrown if the write lock is not currently held.
If there are waiting readers, make them all active and notify all of them. Otherwise, notify the oldest waiting writer, if any. Call when finished with work controlled by acquireWrite.
|
|
|
|
|
|