Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2006

Tip: Looking for answers? Try searching our database.

Java idle processing

Thread view: 
HappyHippy - 05 Sep 2006 04:14 GMT
Hi,

My question is: is there any way to implement "OnIdle" processing in
Java? All I want is to have a function called whenever the process is in
idle state.
It is commonly used in various C/C++ toolkits, but I couldn't find any
way to implement it in Java.

Thank you!
Eric Sosman - 05 Sep 2006 16:13 GMT
HappyHippy wrote On 09/04/06 23:14,:
> Hi,
>
[quoted text clipped - 3 lines]
> It is commonly used in various C/C++ toolkits, but I couldn't find any
> way to implement it in Java.

   If such a thing exists, I haven't heard of it.  One issue
would be to define precisely what you mean by "in idle state."

   What task do you want this function to carry out?  Perhaps
you could just run it in a Thread at MIN_PRIORITY.

Signature

Eric.Sosman@sun.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.