cwake79605 Posted May 21, 2019 Share Posted May 21, 2019 I am currently interested in developing in t3d, but i have recently discovered it can't multi thread. Just waned to check in the forums before i decide if this is the right tool for me. Quote Link to comment Share on other sites More sharing options...
Azaezel Posted May 21, 2019 Share Posted May 21, 2019 Not so much 'can't' as 'doesn't'. There is currently a threadpool system in place, though it is used highly sparingly at present. Hopefully at some point we can all get together and eyeball making more pervasive use for it. Quote Link to comment Share on other sites More sharing options...
cwake79605 Posted May 21, 2019 Author Share Posted May 21, 2019 thanks Quote Link to comment Share on other sites More sharing options...
marauder2k9 Posted May 23, 2019 Share Posted May 23, 2019 That threadpool is interesting, does it mean that for multithreading you simply just need to create multiple threadpools and assign them to a different thread? Quote Link to comment Share on other sites More sharing options...
Azaezel Posted May 24, 2019 Share Posted May 24, 2019 iiiiish. from the browse-around to date, you'd basically make a subsystem-specific pool, and have that manage the spool-ups and the like Quote Link to comment Share on other sites More sharing options...
marauder2k9 Posted May 24, 2019 Share Posted May 24, 2019 spool up like a turbo charger :D will the subsystem need to have a way to specify the most processor intensive workitems and have them split to a new thread? Quote Link to comment Share on other sites More sharing options...
Azaezel Posted May 25, 2019 Share Posted May 25, 2019 Gotta admit, more than a bit rusty about WorkItem prioritization. Quote Link to comment Share on other sites More sharing options...
marauder2k9 Posted May 25, 2019 Share Posted May 25, 2019 im a bit rusty on multithreading altogether lol i know i read somewhere that running functions that require information from one another in parallel sometimes cause problems though, for example if funcion 2 needs data from function 1 you cant run them on separate threads. Again im not sure but if function 1 and function 2 feed data to function 3 they can be run on separate threads that are then joined together and then function 3 is run Quote Link to comment Share on other sites More sharing options...
Azaezel Posted May 26, 2019 Share Posted May 26, 2019 Right, among other things that'd be what lock() unlock() commands are for. Tells it to hold off on thread jumping till the actions performed between the two calls are completed. should be a join or merge in there someplace as well if i recall correctly. That's what ties the various threads back to into one rope, as it were. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.