issue: https://bugs.openjdk.java.net/browse/DIO-18 webrev: http://cr.openjdk.java.net/~onazarkina/bug-18/ This change resolves an issue with invalid race conditions driven by spurious wakeup-s in pthread_cond_wait() calls. This change applies to OpenJDK/DIO 1.0.1 implementation.