about summary refs log tree commit diff
path: root/src/internal/pthread_impl.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-09 02:23:33 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-09 02:23:33 -0400
commit82171d6ac0d84876cdc6dd6319b0790b42cdb47e (patch)
treedf557d7e26c757b333c3dc1e4a9338113d91446e /src/internal/pthread_impl.h
parent2d1d62ed47452126bb632207dd64b0fdaf4c13ed (diff)
downloadmusl-82171d6ac0d84876cdc6dd6319b0790b42cdb47e.tar.gz
musl-82171d6ac0d84876cdc6dd6319b0790b42cdb47e.tar.xz
musl-82171d6ac0d84876cdc6dd6319b0790b42cdb47e.zip
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/pthread_impl.h')
-rw-r--r--src/internal/pthread_impl.h1
1 files changed, 1 insertions, 0 deletions
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 {