--- In [email protected], Thomas Hruska <[EMAIL PROTECTED]> wrote:
>
> mikejd42 wrote:
> > using pthread_kill to kill a pthread that has waited too long kills
> > the entire program. 
> > 
> > Can anyone tell me how I can kill a thread without terminating the
> > entire program?
> > 
> > Thanks
> > <mike>
> 
> Been a while since I've messed with pthreads, but pthread_cancel()
looks 
> like the function you should be looking at.  pthread_kill() sends a 
> standard signal to the target thread and, as per the documentation, 
> SIGKILL kills the entire process.
> 
> -- 
> Thomas Hruska
> CubicleSoft President
> Ph: 517-803-4197
> 
> *NEW* MyTaskFocus 1.1
> Get on task.  Stay on task.
> 
> http://www.CubicleSoft.com/MyTaskFocus/
>
Thanks Tom:
That works!

Reply via email to