MAX_LOCKTRY
if ( (++tries >= MAX_LOCKTRY) || (errno != EAGAIN) ) {
if ((++tries >= MAX_LOCKTRY) || (errno != EAGAIN)) {