Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
U++ Library support
»
U++ MT-multithreading and servers
»
calling back a function after finishing a thread
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
calling back a function after finishing a thread
[
message #17725
]
Wed, 27 August 2008 16:10
TeCNoYoTTa
Messages:
138
Registered:
July 2008
Location:
Egypt
Experienced Member
i want to callback a function when some thread finishes
how can i do that??
i mean i want to callback it in the main thread
Report message to a moderator
Re: calling back a function after finishing a thread
[
message #17729
is a reply to
message #17725
]
Wed, 27 August 2008 16:20
mirek
Messages:
14038
Registered:
November 2005
Ultimate Member
This is not really possible. Basically, what you want here is "interrupt"
It is however possible to callback main GUI thread, using PostCallback. In that case, callback will get invoked when GUI thread returns from processing the GUI event.
Mirek
Report message to a moderator
Re: calling back a function after finishing a thread
[
message #17754
is a reply to
message #17729
]
Thu, 28 August 2008 00:57
Mindtraveller
Messages:
917
Registered:
August 2007
Location:
Russia, Moscow rgn.
Experienced Contributor
And this last solution is quit good. Because generally responding to ueser event is much more important than some background process.
Report message to a moderator
Re: calling back a function after finishing a thread
[
message #17761
is a reply to
message #17754
]
Thu, 28 August 2008 09:19
TeCNoYoTTa
Messages:
138
Registered:
July 2008
Location:
Egypt
Experienced Member
thanks alot alot alot
you solved my main proplem ...Thanks Again
Report message to a moderator
Previous Topic:
two threads make error
Next Topic:
using gates but program lags
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Fri Sep 20 03:22:04 CEST 2024
Total time taken to generate the page: 0.02393 seconds