yazc: use pthread_barrier

Use pthread_barrier and remove the sleep(2) call.
libzc: version 1.0.0