|
-
July 31st, 2010, 09:38 PM
#1
help with threads
How to notify main(GUI) thread from second thread ?
Except Qt tools...
Need boost or stl ways....
Thanx.
-
August 1st, 2010, 03:33 AM
#2
Re: help with threads
You can use a callback function. Or PostMessage() in case of windows.
-
August 1st, 2010, 06:20 AM
#3
Re: help with threads
No windows - need cross-platform solution.
In case with callback - how from second thread call it in main thread?
-
August 1st, 2010, 06:48 AM
#4
Re: help with threads
 Originally Posted by haccel
How to notify main(GUI) thread from second thread ?
Except Qt tools...
Need boost or stl ways....
That depends on the GUI framework you are using, as that determines how your main thread is controlled.
Neither boost nor STL has anything to do with GUI programming.
Cheers, D Drmmr
Please put [code][/code] tags around your code to preserve indentation and make it more readable.
As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky
-
August 1st, 2010, 12:32 PM
#5
Re: help with threads
 Originally Posted by D_Drmmr
That depends on the GUI framework you are using, as that determines how your main thread is controlled.
Neither boost nor STL has anything to do with GUI programming.
The best answer ( i wrote my question on others forums , but it is right on target).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|