From 82171d6ac0d84876cdc6dd6319b0790b42cdb47e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 9 Apr 2011 02:23:33 -0400 Subject: greatly improve SIGEV_THREAD timers calling pthread_exit from, or pthread_cancel on, the timer callback thread will no longer destroy the timer. --- src/internal/pthread_impl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/internal/pthread_impl.h') diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 0bcc54cc..3e436aef 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -42,6 +42,7 @@ struct pthread { void *pending; } robust_list; int unblock_cancel; + int delete_timer; }; struct __timer { -- cgit v1.2.1