Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-incubator-e4-dev] SWT thread in managed runtimes

Hi,
I heard rumors that there will be some changes in the way SWT UI
thread is run in order to make it more compatible with the web model.
Since I have not seen the discussion can anyone summarize what is
discussed (or point me to the discussion).

The reason I am interested is, I am noticing a problem with SWT UI
thread when it is used in a managed runtime container such as Midlets
or any*lets. The problem comes from the fact that some native UI
toolkits would like to use the first thread in the process to be the
UI thread (I think Mac has that limitation). The managed runtimes
usually can reserve the first thread for the UI but there is no way to
guarantee that the applications will use that thread to create the SWT
thread. So what I would like to see is a way to retrieve the preferred
thread SWT UI thread. It can be made so that any many platforms thread
is not important and it would return any thread but this would help
with those platforms with such limitations of UI threads.
--
Gorkem


Back to the top