|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.wpi.first.wpilibj.communication.Semaphore.Options
public static class Semaphore.Options
Options to create a semaphore with.
| Constructor Summary | |
|---|---|
Semaphore.Options()
|
|
| Method Summary | |
|---|---|
void |
setDeleteSafe(boolean delSafe)
Set whether or not the semaphore is delete safe. |
void |
setErrorNotify(boolean errNot)
Set whether the semaphore should notify on an error. |
void |
setInterruptable(boolean intable)
Set whether the semaphore is interruptable. |
void |
setInversionSafe(boolean invSafe)
Set whether the semaphore is inversion safe. |
void |
setPrioritySorted(boolean priority)
Set true to use a priority sorted queue, false to use first-in first-out |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Semaphore.Options()
| Method Detail |
|---|
public void setPrioritySorted(boolean priority)
priority - public void setDeleteSafe(boolean delSafe)
delSafe - True to make the semaphore delete safe.public void setInversionSafe(boolean invSafe)
invSafe - True to set the semaphore to inversion safe.public void setErrorNotify(boolean errNot)
errNot - True to set error notify.public void setInterruptable(boolean intable)
intable - True allows this semaphore to be interrupted.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||