Documentation

SleeperNotifier extends Threaded
in package

Notifiers are Threaded objects which can be attached to threaded sleepers in order to wake them up.

Table of Contents

$sharedObject  : Threaded
$sleeperId  : int
attachSleeper()  : void
getSleeperId()  : int
wakeupSleeper()  : void
Call this method from other threads to wake up the main server thread.

Properties

Methods

attachSleeper()

public final attachSleeper(Threaded $sharedObject, int $id) : void
Parameters
$sharedObject : Threaded
$id : int
Return values
void

getSleeperId()

public final getSleeperId() : int
Return values
int

wakeupSleeper()

Call this method from other threads to wake up the main server thread.

public final wakeupSleeper() : void
Return values
void

Search results