Delete Component thread after finishing a task #1037
-
Hello, I had a new implementation thought and wanted to clear out if that is possible. So in my deployer manager, I am deploying several component and one once I am done deploying I want to quit the deployer manager component thread. Currently my component is active. Is there a way to remove the component or quit its thread internally from the component? Another side question, even if my active components are doing nothing, their threads are still active. Do they use any cpu resources? If yes then how much? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
.join
exists to, if you need to wait for it to exit. See:fprime/Ref/Top/Topology.cpp
Line 276 in 567e2c5