greatly improve SIGEV_THREAD timers

calling pthread_exit from, or pthread_cancel on, the timer callback
thread will no longer destroy the timer.
This commit is contained in:
Rich Felker
2011-04-09 02:23:33 -04:00
parent 2d1d62ed47
commit 82171d6ac0
3 changed files with 21 additions and 15 deletions
+1
View File
@@ -42,6 +42,7 @@ struct pthread {
void *pending;
} robust_list;
int unblock_cancel;
int delete_timer;
};
struct __timer {