|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.sys.SignalSet
public final class SignalSet
A Signal Set, corresponds to sigset_t.
Constructor Summary | |
---|---|
SignalSet()
Create an empty signal set. |
|
SignalSet(Signal sig)
Create a SigSet containing the single signal. |
|
SignalSet(Signal[] sigs)
Create a SigSet containing the signals in the array. |
Method Summary | |
---|---|
SignalSet |
add(Signal sig)
Add sigNum to the SignalSet; return this. |
SignalSet |
add(Signal[] sigs)
Add the array of signals to the SignalSet; return this. |
SignalSet |
blockProcMask()
Block this SignalSet's signals; return this. |
SignalSet |
blockProcMask(SignalSet oldSet)
Block this SignalSet's signals; return the previous signal set in oldSet; return this. |
boolean |
contains(Signal sig)
Does this SignalSet contain sigNum (the underlying code uses sigismember, the name contains is more consistent with java. |
SignalSet |
empty()
Empty the signal set; return this. |
SignalSet |
fill()
Fill the signal set; return this. |
SignalSet |
getPending()
Set to the set of pending signals; return this |
SignalSet |
getProcMask()
Get the current process signal mask; return this. |
SignalSet |
remove(Signal sig)
Remove Signal from the SignalSet (the underlying code uses sigdelset, the name remove is more consistent with java); return this. |
SignalSet |
setProcMask()
Set the process signal mask to this SignalSet's signals; return this. |
SignalSet |
setProcMask(SignalSet oldSet)
Set the thread's signal mask to this SignalSet's signals; return the previous signal set in oldSet. |
int |
size()
The number of elements in the set. |
SignalSet |
suspend()
Suspend the thread, unblocking signals in SignalSet; return this. |
Signal[] |
toArray()
As an array. |
String |
toString()
As a string. |
SignalSet |
unblockProcMask()
Unblock this SignalSet's signals; return this. |
SignalSet |
unblockProcMask(SignalSet oldSet)
Unblock this SignalSet's signals; return the previous signal set in oldSet; return this. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SignalSet()
public SignalSet(Signal[] sigs)
public SignalSet(Signal sig)
Method Detail |
---|
public String toString()
toString
in class Object
public Signal[] toArray()
public SignalSet empty()
public SignalSet fill()
public SignalSet add(Signal sig)
public SignalSet add(Signal[] sigs)
public int size()
public SignalSet remove(Signal sig)
public boolean contains(Signal sig)
public SignalSet getPending()
public SignalSet suspend()
public SignalSet blockProcMask(SignalSet oldSet)
public SignalSet blockProcMask()
public SignalSet unblockProcMask(SignalSet oldSet)
public SignalSet unblockProcMask()
public SignalSet setProcMask(SignalSet oldSet)
public SignalSet setProcMask()
public SignalSet getProcMask()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |