Best way: to implement an interrupt/cancel feature for all your threaded workers.
        Posted  
        
            by Lukas Šalkauskas
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Lukas Šalkauskas
        
        
        
        Published on 2010-05-19T18:53:59Z
        Indexed on 
            2010/05/19
            19:00 UTC
        
        
        Read the original article
        Hit count: 263
        
Hello there,
So my question is how to implement cancel/interrupt feature into all (I mean ALL) thread workers in your application in best and most elegant way?
It's not important if it's an HttpWebRequest, IO operation or calculation. User should have an possibility to cancel every action/thread at any moment.
© Stack Overflow or respective owner