eugenem
asked on
Method execution with timeout
Greetings, all!
I want to execute some method with timeout.
Suppose there is method foo() and I want to call it and if it had't finished in specified amount of time seconds, I want to cancel it.
How do I do that? Threads I suppose?
Respectfully yours, Eugene.
I want to execute some method with timeout.
Suppose there is method foo() and I want to call it and if it had't finished in specified amount of time seconds, I want to cancel it.
How do I do that? Threads I suppose?
Respectfully yours, Eugene.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
eugenem,
No comment has been added lately (18 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:
RECOMMENDATION: Award points to swift99 http:#7165805
Please leave any comments here within 7 days.
-- Please DO NOT accept this comment as an answer ! --
Thanks,
anAKiN
EE Cleanup Volunteer
No comment has been added lately (18 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:
RECOMMENDATION: Award points to swift99 http:#7165805
Please leave any comments here within 7 days.
-- Please DO NOT accept this comment as an answer ! --
Thanks,
anAKiN
EE Cleanup Volunteer
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.