diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-01-27 00:44:44 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-01-27 00:44:44 +0000 |
commit | 2919d86632bbb2fdc85b2fc5f3cc376722d281f7 (patch) | |
tree | 3a80f24a2ad0c9b2848779e36f7e52c6ca47a4cd /ace/OS.i | |
parent | 42fd0dd83c6d631efd365357c7a95a96c9c03cf1 (diff) | |
download | ATCD-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.i | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 */ |