summaryrefslogtreecommitdiff
path: root/ace/Thread_Manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Thread_Manager.h')
-rw-r--r--ace/Thread_Manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Thread_Manager.h b/ace/Thread_Manager.h
index 3be630f7e48..d896f5b51ec 100644
--- a/ace/Thread_Manager.h
+++ b/ace/Thread_Manager.h
@@ -22,6 +22,10 @@
#include "ace/Containers.h"
#include "ace/Free_List.h"
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+#pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
// The following macros control how a Thread Manager manages a pool of
// Thread_Descriptor. Currently, the default behavior is not to
// preallocate any thread descriptor and never (well, almost never)