summaryrefslogtreecommitdiff
path: root/ACE/examples/APG/ThreadManagement/Async_Cancel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/APG/ThreadManagement/Async_Cancel.cpp')
-rw-r--r--ACE/examples/APG/ThreadManagement/Async_Cancel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ACE/examples/APG/ThreadManagement/Async_Cancel.cpp b/ACE/examples/APG/ThreadManagement/Async_Cancel.cpp
index 842c7fa2bca..3aac199d793 100644
--- a/ACE/examples/APG/ThreadManagement/Async_Cancel.cpp
+++ b/ACE/examples/APG/ThreadManagement/Async_Cancel.cpp
@@ -23,6 +23,10 @@ public:
// Put this thread in a compute loop.. no
// cancellation points are available.
}
+#if defined (__HP_aCC)
+ // This is only to workaround a warning on HP-UX compiler.
+ return 0;
+#endif /* __HP_aCC */
}
int set_cancel_mode (void)