basic conditional variable implementation
pthread conditional variable hooks
add distributed conditional variable