Skip to content
SiteEmail

cohtml.TaskScheduler

Class responsible for managing threads and executing native resource and layout tasks.

Name
TaskScheduler()
Creates a layout thread and manages thread pool tasks for WT_Layout and WT_Resources.
voidScheduleTask(WorkType type)
Notifies Cohtml to execute a layout or resource task.
voidStart()
Starts the Layout thread.
voidStop()
Stops the Layout thread.
voidDispose()
Name
uintThreadCount
Returns the current thread count.
TaskScheduler()

Creates a layout thread and manages thread pool tasks for WT_Layout and WT_Resources.

void ScheduleTask(
WorkType type
)

Notifies Cohtml to execute a layout or resource task.

void Start()

Starts the Layout thread.

void Stop()

Stops the Layout thread.

void Dispose()
static uint ThreadCount;

Returns the current thread count.