Executor
- class Executor
-
Members defined in
Executor(3 members)
RReturns the number of worker threads associated with this executor.
Default constructor using as many workers as possible
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]]]