pthread_mutex_t qlock[5] = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t qcond[5] = PTHREAD_COND_INITIALIZER;
It is giving me error as follows...
error: array must be initialized with a brace-enclosed initializer
.. Please, can somebody debug this or tell me a way to solve it...