79526473

Date: 2025-03-21 19:51:53
Score: 1
Natty:
Report link

synchronized (obj) {

while (<condition does not hold> and <timeout not exceeded>) {

long timeoutMillis = ... ; // recompute timeout values

int nanos = ... ;

obj.wait(timeoutMillis, nanos);

}

  ... // Perform action appropriate to condition
header 1 header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: William Fuller