Executor

class Executor
Members defined in Executor (3 members)

num_workers

R

Returns the number of worker threads associated with this executor.

__init__

Default constructor using as many workers as possible

run

Execute a schedule. Note that schedules are consumed and trying to access them again will result in an error

Attributes

property num_workers: int

Returns the number of worker threads associated with this executor.

Methods

__init__() None

Default constructor using as many workers as possible

__init__(num_workers: int) None
run(schedule: syside.Schedule) syside.ExecutionResult

Execute a schedule. Note that schedules are consumed and trying to access them again will result in an error

run(schedule: syside.IOSchedule) tuple[syside.IOSchedule, list[syside.SharedMutex[syside.TextDocument]]]
Used in