If the current count is zero then this method returns immediately.
If the current count is greater than zero then the current thread becomes disabled for thread scheduling purposes and lies dormant until one of two things happen:
If the current thread:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|