Add a pthread_cond_t to queue.
pthread_cond_broadcast when something is added to the queue
generic structure to hold arguments for child threads