Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] linux-gtk low level synchronization


Yes.  GC operations can happen in a non-GUI thread.



"Frank Benoit" <keinfarbton@xxxxxxxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

08/12/2008 10:17 AM

Please respond to
"Eclipse Platform SWT component developers list."        <platform-swt-dev@xxxxxxxxxxx>

To
"Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>
cc
Subject
Re: [platform-swt-dev] linux-gtk low level synchronization







2008/8/12 Steve Northover <Steve_Northover@xxxxxxxxxx>

Only one thread is allowed in X windows.  

Graphics operations can happen in every thread and therefore need to be synchronized with the UI thread.  
On Windows, GDI allows more than one thread so no lock is necessary.

Thanks for the answer Steve.
I don't understand which graphics operation can happen in other threads?
E.g. a Table redraw() calls checkWidget that ensures the UI Thread.
Or do you mean the user could use a GC object from another thread?
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top