summaryrefslogtreecommitdiff
path: root/ace/OS.i
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-01-27 00:44:44 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-01-27 00:44:44 +0000
commit2919d86632bbb2fdc85b2fc5f3cc376722d281f7 (patch)
tree3a80f24a2ad0c9b2848779e36f7e52c6ca47a4cd /ace/OS.i
parent42fd0dd83c6d631efd365357c7a95a96c9c03cf1 (diff)
downloadATCD-2919d86632bbb2fdc85b2fc5f3cc376722d281f7.tar.gz
ChangeLogTag:Fri Jan 26 16:31:15 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/OS.i')
-rw-r--r--ace/OS.i12
1 files changed, 6 insertions, 6 deletions
diff --git a/ace/OS.i b/ace/OS.i
index 2b7ecfd4fcd..75f1576cf51 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -2028,20 +2028,20 @@ ACE_OS::mutex_lock (ACE_mutex_t *m,
# else /* ACE_HAS_PTHREADS */
- // @@ Apparently only POSIX threads have the timed lock
- // functionality.
+ // @@ Are there any other platforms that support timed lock
+ // acquisitions.
+ ACE_UNUSED_ARG (m);
ACE_UNUSED_ARG (timeout);
- return ACE_OS::mutex_trylock (m); // The best that we can do is try
- // to grab the lock.
+ ACE_NOTSUP_RETURN (-1);
# endif /* ACE_HAS_PTHREADS */
# else /* ACE_HAS_MUTEX_TIMEOUTS */
+ ACE_UNUSED_ARG (m);
ACE_UNUSED_ARG (timeout);
- return ACE_OS::mutex_trylock (m); // The best that we can do is try
- // to grab the lock.
+ ACE_NOTSUP_RETURN (-1);
# endif /* ACE_HAS_MUTEX_TIMEOUTS */