Re: zinc GUI event queue problem ...
On 2 Nov 2005, [email]email@example.com[/email] wrote:
> I am using following code to pass event from non-gui thread to gui
> thread ..[/color]
> both the tasks namely gui (zinc) and non-gui are at same priority.
> problem is ...[/color]
> There is delay in receiving event in GUI queue. If i post an event
> at time t1 in non-gui queue. In GUI thread (zinc message queue) it
> is retreived somewhere at t1+3 seconds ![/color]
The non-GUI task will not yeild the CPU to Zinc. Is the system idle
or is the non-GUI (or a higher priority) task running?
Did you explicitly redraw in the Zinc code that is handling the event?
Are you sure that the GUI task is taking 3 seconds to execute or is
this when you see the screen updated?
Married men live longer than single men, but married men are much more
willing to die - Dilworth
vxWorks FAQ, "http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html"