Home » Developing U++ » U++ Developers corner » Ide MT
Re: Ide MT [message #31237 is a reply to message #31230] |
Wed, 16 February 2011 12:30   |
raxvan
Messages: 60 Registered: December 2009
|
Member |
|
|
mirek wrote on Wed, 16 February 2011 11:11 |
Problem is, with MT and CoWork, there is absolutely no guarantee that it will run in separate thread...
If you really feel like you absolutely need to run something in separate thread, then create Thread and start it 
|
Ow , i had no idea about that. Perhaps CoWork should always run tasks in a separate thread. Initially i was going to use a Thread but i found out that CoWork was much easier to use.
mirek wrote on Wed, 16 February 2011 11:11 |
But there are many catches with MT and GUI. E.g. something as trivial as hitting close button of TheIDE would cause you a lot of pain...
|
I think the best solution would be the one Honza proposed:
"provide some generic way to allow such tasks to run using callbacks and ProcessEvents() in ST and Threads in MT, so that in both cases maximum efficiency would be achieved."
In any case, The support for MT should be a added because CPU-s will probably not get a lot faster, and adding more features will not make thing easier.
Raxvan.
92b48bf94855483bb4cec8bcc8c0c933
|
|
|
 |
|
Ide MT
By: mirek on Wed, 16 February 2011 10:42
|
 |
|
Re: Ide MT
By: raxvan on Wed, 16 February 2011 11:06
|
 |
|
Re: Ide MT
By: mirek on Wed, 16 February 2011 11:11
|
 |
|
Re: Ide MT
By: raxvan on Wed, 16 February 2011 12:30
|
 |
|
Re: Ide MT
By: mirek on Wed, 16 February 2011 12:50
|
 |
|
Re: Ide MT
By: raxvan on Wed, 16 February 2011 14:08
|
 |
|
Re: Ide MT
By: mirek on Wed, 16 February 2011 15:43
|
 |
|
Re: Ide MT
|
 |
|
Re: Ide MT
By: unodgs on Wed, 16 February 2011 11:50
|
 |
|
Re: Ide MT
By: mirek on Wed, 16 February 2011 11:52
|
 |
|
Re: Ide MT
By: koldo on Wed, 16 February 2011 12:11
|
 |
|
Re: Ide MT
By: mirek on Wed, 16 February 2011 12:46
|
 |
|
Re: Ide MT
|
 |
|
Re: Ide MT
By: mirek on Wed, 16 February 2011 15:49
|
 |
|
Re: Ide MT
|
 |
|
Re: Ide MT
By: mdelfede on Sun, 20 February 2011 20:19
|
Goto Forum:
Current Time: Sun Apr 27 10:32:18 CEST 2025
Total time taken to generate the page: 0.00522 seconds
|