[sdljava-users] EventManager: using pollEvent() instead of waitEvent() ?
Status: Beta
Brought to you by:
ivan_ganza
From: Patric R. <pa...@ma...> - 2005-10-16 17:17:37
|
Hello List, I am currently having problems stopping the EventManager thread in some cases. It seems that the native call to waitEvent() cannot be interrupted by calling interrupt() of the thread. I think using pollEvent() would be better here (because it is already an own thread) and will fix some problems. What do you think about it? Best Regards Patric |