added pthread_detach() for cleanup
This commit is contained in:
parent
13d78b87a6
commit
c72b0d4a7f
|
@ -844,6 +844,7 @@ cf->next_offset);
|
|||
pthread_self());
|
||||
fflush(stderr);
|
||||
pthread_mutex_unlock(&cf->rw_lock);
|
||||
pthread_detach(pthread_self());
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue