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



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?


Back to the top