I have 6 threads. One of the threads falls into a certain area and includes a "lock" and all other threads wait and want to enter the same area.
Now, will other threads get processor time? Does the other thread remain in the thread schedule? I understand that all the other thread is idle, but the processor will try to continue working and try to enter the area (even if the area is inaccessible)
Yanshof
source share