The resource loading... loading...

release

The release() function is used to release a thread lock (unlock).

release()

Please refer to the ThreadCondition.notify() section for examples.

After using wait(), we need to release the thread lock (unlock) of the current condition object.

{@fun/Threads/ThreadCondition/notify notify}, {@fun/Threads/ThreadCondition/notifyAll notifyAll}, {@fun/Threads/ThreadCondition/wait wait}, {@fun/Threads/ThreadCondition/acquire acquire}

acquire ThreadDict