< prev index next >
src/hotspot/os/posix/os_posix.inline.hpp
Print this page
rev 59383 : [mq]: final
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -43,12 +43,10 @@
return _clock_getres != NULL ? _clock_getres(clock_id, tp) : -1;
}
#endif // SUPPORTS_CLOCK_MONOTONIC
-#ifndef SOLARIS
-
// Platform Mutex/Monitor implementation
inline void os::PlatformMutex::lock() {
int status = pthread_mutex_lock(mutex());
assert_status(status == 0, status, "mutex_lock");
@@ -73,8 +71,6 @@
inline void os::PlatformMonitor::notify_all() {
int status = pthread_cond_broadcast(cond());
assert_status(status == 0, status, "cond_broadcast");
}
-#endif // !SOLARIS
-
#endif // OS_POSIX_OS_POSIX_INLINE_HPP
< prev index next >