GeorgeP Posted May 3, 2012 Share Posted May 3, 2012 Hello. How can i terminate threads that i initiated using: thread("anyThreadFunction") ? How can i handle them generally ? (count, duplicate, etc) Thank you. Link to comment
unclebob Posted May 5, 2012 Share Posted May 5, 2012 Hi George, Script threads automatically terminate themselves after function execution, so if you, for example, have an infinite loop inside that function, simply use 'return' statement. There is no 'terminateThread'-like functions though, you should handle this by yourself if you need to. Could you specify your question about thread handling? What is your use cases? Link to comment
GeorgeP Posted May 5, 2012 Author Share Posted May 5, 2012 Hello. First of all thank you for your reply. I was wondering if there is any way to keep track of the treads i have raised. I dont need it at the moment but i didnt find any reference in the documentation about threads. Thank you for your time. Link to comment
Recommended Posts