I think it would be better to have a (atomic)boolean
How do you know that there was nor a positive or negative reponse with just a boolean? The problem is what Object.wait() hasn't an mechanism to tell us that it timed out, that's why I suggested the tri-state variable.