I need to know what is the simplest way to stop a pthread. I dont want to use nor I am using mutex lock and unlock, but my threads are running fine and I want to stop the running thread if a global variable is set.
can somebody throw some light on this.
Thanks




Reply With Quote