initScheduler

Creates or re-creates the scheduler instance.

Re-creating of scheduler is only allowed if previous one doesn't have any work remaining and is intended exclusively for ease of writing unittest blocks.

Parameters

config SchedulerConfiguration

see .SchedulerConfiguration

epoll EpollSelectDispatcher

existing epoll instance to use, if set to null, scheduler will create a new one

Meta