HarryPotter 9 Posted July 3, 2010 Report Share Posted July 3, 2010 hi, just wondering if anyone can explain the difference between using "thread" and "in sub window". it would be cool if i can execute all my commands that are not dependent on each other simultaneously. cheers, Quote Link to post Share on other sites
alcr 135 Posted July 4, 2010 Report Share Posted July 4, 2010 In sub window are opening up a new IE window while the threads is opening up a new thread.http://en.wikipedia.org/wiki/Multithreading Quote Link to post Share on other sites
HarryPotter 9 Posted July 4, 2010 Author Report Share Posted July 4, 2010 i see. however, in essence, if i open multiple sub windows and run my commands, it would be equivalent to running multiple threads to run my commands? Quote Link to post Share on other sites
alcr 135 Posted July 4, 2010 Report Share Posted July 4, 2010 No it's the same thread. So you would have to put a new thread for each subwindow if you would them to run at the same time. Quote Link to post Share on other sites
Frank 177 Posted July 4, 2010 Report Share Posted July 4, 2010 Remember where the 'thread' command came from. There was a small bug in the 3.1 version of ubot and you could like on buttons and such on a page and the code would continue to wait for things like a page refresh or something. With 3.3, this was 'fixed' and ubot was having issues. Seth then created the 'thread' command to allow you to perform an action that would hang ubot but threading it off to another thread allows ubot to continue and wait for the necessary information. Make sense? Frank Quote Link to post Share on other sites
HarryPotter 9 Posted July 5, 2010 Author Report Share Posted July 5, 2010 lol... this is more complicated than i thought Quote Link to post Share on other sites
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.