Java idle processing

Discussion in 'Java' started by HappyHippy, Sep 5, 2006.

  1. HappyHippy

    HappyHippy Guest

    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!
     
    HappyHippy, Sep 5, 2006
    #1
    1. Advertising

  2. HappyHippy

    Eric Sosman Guest

    HappyHippy wrote On 09/04/06 23:14,:
    > 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.


    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.

    --
     
    Eric Sosman, Sep 5, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Starwynd
    Replies:
    1
    Views:
    411
    Tor Iver Wilhelmsen
    Nov 23, 2003
  2. Tomasz
    Replies:
    0
    Views:
    473
    Tomasz
    Apr 23, 2005
  3. Hubert Hung-Hsien Chang
    Replies:
    2
    Views:
    540
    Michael Foord
    Sep 17, 2004
  4. meselfo
    Replies:
    1
    Views:
    1,221
  5. Replies:
    3
    Views:
    237
    Roedy Green
    Jul 31, 2012
Loading...

Share This Page