MAX_LOCK_TRIES
if (++count < MAX_LOCK_TRIES) {
if (++count >= MAX_LOCK_TRIES) {
for (gotlock = tries = 0; tries < MAX_LOCK_TRIES; tries++) {
for (gotlock = tries = 0; tries < MAX_LOCK_TRIES; tries++) {