pmthr
if (pthread_create(&pmthr_tid, &thr_attr, pmthr, NULL) != 0)
if (pthread_create(&pmthr_tid, &thr_attr, pmthr,
pmthr, (void *)NULL) != 0) {
pmthr, (void *)NULL) != 0) {
if (pthread_create(&pmthr_tid, &thr_attr, pmthr,