Re:Set Timeout for any method in C#
by bensummers on Thursday July 16, 2009 @07:25AM
(#707671)
It doesn't abort the operation, though. Just leaves it running in the background.
Canceling arbitrary operations is a bit of a hard problem. Automatic garbage collection helps a little, but even so, handles and locks would be left open for an indeterminate length of time.
Canceling arbitrary operations is a bit of a hard problem. Automatic garbage collection helps a little, but even so, handles and locks would be left open for an indeterminate length of time.