Browse Source

MT#55524 fix typo

We want to disable thread cancellation here, not enable.

Change-Id: Ib0dd80c15af1e38252617d7cdaa1880f6c63485e
(cherry picked from commit 5188f24bec)
mr10.5.3
Richard Fuchs 3 years ago
parent
commit
bb583c3382
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/poller.c

+ 1
- 1
daemon/poller.c View File

@ -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