is it possible to 'kill' a thread?



Hi,

I was wondering if it's possible to end a thread from OUTSIDE that
thread. I have a thread which executes an un-interruptable function and
i'd like to end that execution whenever a user presses the 'cancel'
button.

I did some searching and found Glib::Thread::Exit, but i'm not sure how
it can be usefull in this situation.

Any insights in how to accomplish this the 'right' way?

thnks!

plors




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]