Overview
Features
Download
Documentation
Community
Add-Ons & Services

UI Thread ?

Please post support and help requests here.

UI Thread ?

Postby BigTick » 31 May 2013, 13:22

Hi,

The doc for notifications say:
You can use a NotificationQueue to send notifications from background processing threads to the user interface thread


How does the UI thread dequeues events from the queue ? Do I have to use a timer to poll the queue ?
BigTick
 
Posts: 35
Joined: 28 Apr 2010, 21:07

Re: UI Thread ?

Postby guenter » 31 May 2013, 13:36

Yes, typically, you'll use a timer to poll the queue.
guenter
 
Posts: 1153
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: UI Thread ?

Postby BigTick » 31 May 2013, 14:49

Ok, thanks. I was wondering if there was a portable way to avoid the timer - on Windows there is PostMessage that can be used to notify a UI Thread.
BigTick
 
Posts: 35
Joined: 28 Apr 2010, 21:07


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests