Search Results

Search: Posts Made By: John S.
Forum: Programming 02-09-2012
5,973
Posted By jim mcnamara
Already "dead" threads can be reaped with...
Already "dead" threads can be reaped with pthread_join, if they are not set to detached.
And yes, you should not cancel a dead thread, it will return an error.

You can also call pthread_cancel on...
Forum: Programming 02-09-2012
5,973
Posted By jim mcnamara
If the sessions are blocking on a read() they...
If the sessions are blocking on a read() they should be at a cancellation point, no problem.
Are you invoking any kind of cleanup -- pthread_cleanup_push & pop? Are you leaving malloc'd memory...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 05:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy