Board index » cppbuilder » Thread context of TTimer::OnTimer callback

Thread context of TTimer::OnTimer callback

Hi,

does anybody know in which context the callback of an instance of
TTimer is invoked? Is it the context of the main VCL thread or is it the context of the thread in which the TTimer instance is created? Or is it some other context?

Thanks and best regards,
Andre

 

Re:Thread context of TTimer::OnTimer callback


Quote
"Andre Folkers" <folk...@web.de> wrote in message

news:3e8c27f3$1@newsgroups.borland.com...

Quote
> does anybody know in which context the callback of an
> instance of TTimer is invoked? Is it the context of the main
> VCL thread or is it the context of the thread in which the
> TTimer instance is created? Or is it some other context?

The instantiating thread, assuming it has a message queue with which to
process the WM_TIMER messages with.

Gambit

Other Threads