|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is a variant of the Runnable
inteface to be used
with the SignalThread
class. The reason for defining
a new interface is to remind implementors that the
run()
method must periodically check for signals and
handle them.
Field Summary | |
static int |
SIGKILL
On receiving this signal, the thread should die as quickly as possible. |
static int |
SIGNONE
This indicates that there is no pending signal. |
static int |
SIGPAUSE
On receiving this signal, the thread should sleep until it receives a SIGKILL , SIGQUIT or SIGRESUME
signal. |
static int |
SIGQUIT
On receiving this signal, the thread should quit in an orderly fashion. |
static int |
SIGRESUME
On receiving this signal, the thread should continue with its normal job, cancelling the effect of any previous SIGPAUSE signal. |
Methods inherited from interface java.lang.Runnable |
run |
Field Detail |
public static final int SIGKILL
public static final int SIGQUIT
public static final int SIGRESUME
SIGPAUSE
signal.
public static final int SIGPAUSE
SIGKILL
, SIGQUIT
or SIGRESUME
signal.
public static final int SIGNONE
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |