You could always set the cancellation type to asynchronous, to just have it terminate anywhere. But you'd still need cleanup handlers. I still agree though that handling this with an abort mechanism is much better.
- cleanly terminating a thread if it takes too long choltreppe
- cleanly terminating a thread if it takes too long guzba
- cleanly terminating a thread if it takes too long PMunch
- cleanly terminating a thread if it takes too long mratsim
- cleanly terminating a thread if it takes too l... PMunch
- cleanly terminating a thread if it takes ... choltreppe