diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-09 02:23:33 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-09 02:23:33 -0400 |
commit | 82171d6ac0d84876cdc6dd6319b0790b42cdb47e (patch) | |
tree | df557d7e26c757b333c3dc1e4a9338113d91446e /src/internal | |
parent | 2d1d62ed47452126bb632207dd64b0fdaf4c13ed (diff) | |
download | musl-82171d6ac0d84876cdc6dd6319b0790b42cdb47e.zip musl-82171d6ac0d84876cdc6dd6319b0790b42cdb47e.tar.gz musl-82171d6ac0d84876cdc6dd6319b0790b42cdb47e.tar.bz2 |
greatly improve SIGEV_THREAD timers
calling pthread_exit from, or pthread_cancel on, the timer callback
thread will no longer destroy the timer.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/pthread_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 0bcc54c..3e436ae 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 { |