|
Re: Python Multi Processing
I am attempting to keep it under 0.018 sec per iteration. I currently have it under under that time and have it just running once per loop, but I would like to be able to just have it forked out so that it would never accidentally become an issue in the future with code revisions.
I could just have it called multiple times through out the main loop, but I just don't really like the way that would look. I also would like to know what the best method of having multiple threads running as it would just be useful. I couldn't get it running myself but on some test code i had made ran well on my pc so i just assumed the bot didn't support it as it just froze on the start() method running forever in the while loop instead of just having it spawn out as a separate thread and continuing on.
|