Expand description
An implementation of Houdini worklets.
The goal of this implementation is to maximize responsiveness of worklets, and in particular to ensure that the thread performing worklet tasks is never busy GCing or loading worklet code. We do this by providing a custom thread pool implementation, which only performs GC or code loading on a backup thread, not on the primary worklet thread.
Structsยง
- Droppable
Field ๐ - Pending
Tasks ๐Struct - An executor of worklet tasks
- A guid for worklets.
- Worklet
Thread ๐A thread for executing worklets. - Worklet
Thread ๐Init Data to initialize a worklet thread. - Worklets execute in a dedicated thread pool.
- Worklet
Thread ๐Role A role that a worklet thread can be playing.
Enumsยง
- Worklet
Control ๐The control message sent to worklet threads - Worklet
Data ๐The data messages sent to worklet threads
Constantsยง
- MIN_
GC_ ๐THRESHOLD