Time-dependent method

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • hypermonkey2

    Time-dependent method

    Hi all!

    I was wondering if it is possible to call a method such that if it
    takes more than say 1 minute to complete, it will give up and do
    something else instead.

    Thanks in advance!
  • Fredrik Lundh

    #2
    Re: Time-dependent method

    hypermonkey2 wrote:
    I was wondering if it is possible to call a method such that if it
    takes more than say 1 minute to complete, it will give up and do
    something else instead.
    as mentioned in the recent "Create a process with a 'time to live'" thread:



    </F>

    Comment

    Working...