Experimental:Palette:threadManagerClient
Summary[edit]
The ThreadManagerClient (Palette > ThreadManager) is a custom TouchDesigner component designed to rely on the Thread Manager COMP.
The ThreadManagerClient is designed around it's callback DAT. Users should review the template code and adapt it to their own cases.
The customized methods implemented in the ThreadManagerClient Callback are generating a TDTask that gets passed to the Thread Manager TDTask queue.
⚠️ Keep in mind that users need to be cautious when using threading in TouchDesigner. As a rule of thumb don't access objects from the main TouchDesigner thread such as OPs, COMPs, Parameters, from another thread. Whether it be for writing, reading, or any other operation.
While advanced developers can rely on the Thread Manager directly, users not familiar with threading should consider using the ThreadManager Client instead.
Palette:threadManagerClient Ext
Parameters - Thread Manager Client Page
Thread Manager Threadmanager
- A reference to the Thread Manager COMP for which we want to run the Thread Manager Client callbacks through. Defaulting to the system Thread Manager.
Run In Thread Runinthread
- Execute the code in the Callback DAT starting with Setup method before calling RunInThread. Same as calling SetupAndRun() on this COMP.
Callback Callback
-
Callback DAT Callbackdat
- A DAT with methods to be called from withing the COMP its attached to.
Create Callback DAT Createcallbackdat
- Create a valid callback DAT from the template shipping with the COMP.
Print Callbacks Printcallbacks
- Print the callback details to the textport.
Parameters - About Page
Help Help
-
Version Version
-
.tox Save Build Toxsavebuild
-
TouchDesigner Build:
Palette |
---|
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • |