It's not really a problem, unless the main app does something
in an event that takes a while. Since I am currently the only one
using the app, it's not an issue. However, in the future, it
might become an issue.
Generally I was hoping to set the thread to the same
priority as the event handler and let the OS take care of
time slicing. Clearly the JVM is not that robust though.
-T
"Robert A. Crawford" wrote:
>
> On Tue, Jul 20, 1999 at 12:32:19PM -0400, Thomas M. Sasala wrote:
> > Setting my task to MIN_PRIORITY fixes the problem, but
> > I think it is a suboptimal fix. So:
>
> Why is that a problem? The event thread probably spends
> 95% of its time waiting for events, so your thread would get
> the time it needs.
>
> --
> [EMAIL PROTECTED]
--
+-------------------------------------------------------------------+
+ Thomas M. Sasala, Electrical Engineer [EMAIL PROTECTED] +
+ MRJ Technology Solutions http://www.mrj.com +
+ 10461 White Granite Drive, Suite 102 (W)(703)277-1714 +
+ Oakton, VA 22124 (F)(703)277-1702 +
+-------------------------------------------------------------------+
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]