< prev index next >

src/share/vm/runtime/semaphore.cpp

Print this page

        

*** 24,39 **** #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) { --- 24,33 ----
< prev index next >