MT#55524 fix typo

We want to disable thread cancellation here, not enable.

Change-Id: Ib0dd80c15af1e38252617d7cdaa1880f6c63485e
pull/1577/head
Richard Fuchs 4 years ago
parent 435e5b62ff
commit 5188f24bec

@ -587,7 +587,7 @@ void poller_timer_loop(void *d) {
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);
usleep(sleeptime);
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
continue;

Loading…
Cancel
Save