hang on linux seems to point to the possibilit of more than one thread waiting on the enque mutex so this change to notifyAll should help