A thread wants to make a second thread ineligible for execution.
To do this, the first thread can call the yield()
method on the second thread.
B.
The yield()
method is static and always causes the current thread to yield.
In this case, ironically, the first thread will yield.