Searched defs:Semaphore (Results 1 - 6 of 6) sorted by relevance

/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DSemaphore.java30 public class Semaphore { class
35 public Semaphore() { method in class:Semaphore
39 public Semaphore(int initialCount) { method in class:Semaphore
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DSemaphore.java46 * However, no actual permit objects are used; the {@code Semaphore} just
55 * private final Semaphore available = new Semaphore(MAX_AVAILABLE, true);
161 public class Semaphore implements java.io.Serializable { class in inherits:java.io.Serializable
262 * Creates a {@code Semaphore} with the given number of
269 public Semaphore(int permits) { method in class:Semaphore
274 * Creates a {@code Semaphore} with the given number of
284 public Semaphore(int permits, boolean fair) { method in class:Semaphore
606 * have acquired that permit by calling {@link Semaphore#acquire acquire}.
/openjdk7/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/
H A DTestDialogTypeAhead.java75 static Semaphore pressSema = new Semaphore();
76 static Semaphore robotSema = new Semaphore();
228 final Semaphore sema = new Semaphore();
250 static class Semaphore { class in class:TestDialogTypeAhead
253 public Semaphore() { method in class:TestDialogTypeAhead.Semaphore
/openjdk7/hotspot/src/os/bsd/vm/
H A Dos_bsd.cpp2683 class Semaphore : public StackObj { class in inherits:StackObj
2685 Semaphore();
2686 ~Semaphore();
2696 Semaphore::Semaphore() : _semaphore(0) { function in class:Semaphore
2700 Semaphore::~Semaphore() {
2704 void Semaphore::signal() {
2708 void Semaphore::wait() {
2712 jlong Semaphore
[all...]
/openjdk7/hotspot/src/os/linux/vm/
H A Dos_linux.cpp2441 class Semaphore : public StackObj { class in inherits:StackObj
2443 Semaphore();
2444 ~Semaphore();
2454 Semaphore::Semaphore() { function in class:Semaphore
2458 Semaphore::~Semaphore() {
2462 void Semaphore::signal() {
2466 void Semaphore::wait() {
2470 bool Semaphore
[all...]
/openjdk7/hotspot/src/os/solaris/vm/
H A Dos_solaris.cpp2609 class Semaphore : public StackObj { class in inherits:StackObj
2611 Semaphore();
2612 ~Semaphore();
2622 Semaphore::Semaphore() { function in class:Semaphore
2626 Semaphore::~Semaphore() {
2630 void Semaphore::signal() {
2634 void Semaphore::wait() {
2638 bool Semaphore
[all...]

Completed in 81 milliseconds