summaryrefslogtreecommitdiff
path: root/ace/Thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Thread.h')
-rw-r--r--ace/Thread.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ace/Thread.h b/ace/Thread.h
index 48f960da386..9292068c54c 100644
--- a/ace/Thread.h
+++ b/ace/Thread.h
@@ -24,6 +24,16 @@
#include "ace/OS.h"
#include "ace/Thread_Adapter.h"
+struct cancel_state
+{
+ /// e.g., PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE,
+ /// PTHREAD_CANCELED.
+ int cancelstate;
+
+ /// e.g., PTHREAD_CANCEL_DEFERRED and PTHREAD_CANCEL_ASYNCHRONOUS.
+ int canceltype;
+};
+
/**
* @class ACE_Thread
*