|
|||||||||
| Home >> All >> jacomma >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
jacomma.util
Class Semaphore

java.lang.Objectjacomma.util.Semaphore
- public class Semaphore
- extends java.lang.Object
Simple Semaphore variable (well, not pthread_cond, since this is just synchronization)
| Field Summary | |
private int |
count_
|
| Constructor Summary | |
Semaphore()
|
|
| Method Summary | |
int |
get()
|
void |
post()
|
void |
sem_wait()
|
boolean |
sem_wait(long t)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
count_
private int count_
| Constructor Detail |
Semaphore
public Semaphore()
| Method Detail |
post
public void post()
get
public int get()
sem_wait
public void sem_wait()
throws java.lang.InterruptedException
sem_wait
public boolean sem_wait(long t)
throws java.lang.InterruptedException
|
|||||||||
| Home >> All >> jacomma >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
jacomma.util.Semaphore