summaryrefslogtreecommitdiff
path: root/PACE/pace/vxworks/signal.inl
diff options
context:
space:
mode:
Diffstat (limited to 'PACE/pace/vxworks/signal.inl')
-rw-r--r--PACE/pace/vxworks/signal.inl16
1 files changed, 2 insertions, 14 deletions
diff --git a/PACE/pace/vxworks/signal.inl b/PACE/pace/vxworks/signal.inl
index 76b34e90df4..c78e9ca9620 100644
--- a/PACE/pace/vxworks/signal.inl
+++ b/PACE/pace/vxworks/signal.inl
@@ -148,20 +148,8 @@ PACE_INLINE
int
pace_sigwait (const pace_sigset_t * set, int * sig)
{
- /* It appears that sigwait is not supported for 5.3.1 or 5.4.
- * ACE uses sigtimedwait instead. (The code below is directly
- * from ACE_OS.
- * This is the call that should be made if VxWorks supported
- * sigwait:
- PACE_UNUSED_ARG (sig);
- return sigwait (set);
-
- * Second arg is a struct siginfo *, which we don't need (the
- * selected signal number is returned). Third arg is timeout: 0
- * means forever.
- */
- *sig = sigtimedwait (set, 0, 0);
- return *sig;
+ PACE_UNUSED_ARG (sig);
+ return sigwait (PACE_NONCONST_ARG_CAST (pace_sigset_t *) set);
}
#endif /* PACE_HAS_POSIX_NONUOF_FUNCS */