|
PocketMine-MP 5.39.4 git-a2b7d660558310260c376d1eeaff549367b9fc6e
|
Collaboration diagram for pocketmine\snooze\SleeperNotifier:Public Member Functions | |
| __construct (private readonly ThreadSafeArray $sharedObject, private readonly int $notifierId) | |
| wakeupSleeper () | |
Used to wake up the sleeping thread from another thread. Use SleeperHandlerEntry::createNotifier() inside the thread to create this.
Definition at line 23 of file SleeperNotifier.php.
| pocketmine\snooze\SleeperNotifier::__construct | ( | private readonly ThreadSafeArray | $sharedObject, |
| private readonly int | $notifierId ) |
Definition at line 31 of file SleeperNotifier.php.
|
final |
Call this method to wake up the sleeping thread.
Definition at line 39 of file SleeperNotifier.php.