Is it posiible to kill a thread which is sleeping. ÃÂ I am using pthread_cancel() from the main thread and trying to kill a thread which is sleeping. I found out that the thread is not getting killed. ÃÂ Is there a work around