pthread question;
pthread问题;
it appears that conditional variable only works if pthread_cond_wait is called before the other thread calls pthread_cond_notify. If notify somehow happens before wait then wait will be stuck;it appears tha
pthread question;
pthread问题;
it appears that conditional variable only works if pthread_cond_wait is called before the other thread calls pthread_cond_notify. If notify somehow happens before wait then wait will be stuck;it appears tha