12-09-2009 08:12 PM
I don't think a Thread.yield will not give up the Event Lock, so I would not use it when running on the Event Thread.
I do use it elsewhere, where I think appropriate, though it is hard to be sure it is working as I would expect,
12-09-2009 08:17 PM
I can't think of a situation where Thread.yield() is appropriate for the event thread.
If you are trying this, then you probably really need to spawn a worker thread and allow the event thread to return to the dispatcher.
Is there a specific situation you are facing that you feel calls for this strategy?