g_timeout_* callbacks and win32 multimedia timers



Hi,

I think my previous question was not clear enough.
In my app, for the linux version, I call gtk and gdk functions
in the gtk main loop and in g_timeout_* callbacks. And everything
works fine.
On win32, I use multimedia timers instead (because I need
resolutions below 25 milliseconds.) As I know that gtk and gdk
functions must not be called from different threads on win32,
it seems there is an implied issue (thread-related) doing so.
Because from what I understand in the win32 api doc, the timer runs
in its own thread.
So, am I right or not? Sorry if the question is stupid but this point
remains confusing to me.
Thanks for any info.

Manu TM






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]