struct barrier_variable {
        pthread_mutex_t lock;
        pthread_cond_t cond;
        int count;
};


