One way would be to add a flag to your thread that it monitors, once the flag is set, you can have your thread terminate gracefully, cleaning up after it self.
One way would be to add a flag to your thread that it monitors, once the flag is set, you can have your thread terminate gracefully, cleaning up after it self.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks