Initialize the message queue */. void mq_init(struct msg_queue * mq) {. /* YOUR CODE HERE */. pthread_mutex_t my_lock;. pthread_cond_t added_message;.
確定! 回上一頁