Home > Back-end >  In Java without locking method, in the current thread to sleep after the execute method when a new t
In Java without locking method, in the current thread to sleep after the execute method when a new t

Time:10-14

With the if and the else to achieve a similar to the operation of the spin time (just practice, spin or use while better), when didn't get the resources into the spin up a new child thread?
  • Related