Enum ThreadContext
- Namespace
- Jitter2
- Assembly
- Jitter2.dll
Specifies the threading context in which code executes or a callback is invoked.
public enum ThreadContext
Fields
Any = 2May run on the calling thread or a worker thread. Shared mutable data must be protected.
MainThread = 0Runs on the thread calling the operation, such as Step(float, bool).
ParallelWorker = 1Runs on a worker thread and may run concurrently with other callbacks. Shared mutable data must be protected.