< prev index next >
src/share/vm/runtime/semaphore.cpp
Print this page
@@ -24,16 +24,10 @@
#include "precompiled.hpp"
#include "utilities/debug.hpp"
#include "runtime/semaphore.hpp"
-// Implements the limited, platform independent Semaphore API.
-Semaphore::Semaphore(uint value) : _impl(value) {}
-Semaphore::~Semaphore() {}
-void Semaphore::signal(uint count) { _impl.signal(count); }
-void Semaphore::wait() { _impl.wait(); }
-
/////////////// Unit tests ///////////////
#ifndef PRODUCT
static void test_semaphore_single_separate(uint count) {
< prev index next >