From 3f4e8cb8ed0bef8e4ba55a9280976a663c8e734d Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Tue, 18 Feb 2014 13:30:25 -0500 Subject: [PATCH] capture_client: remove unnecessary pthread_set_cancel_type --- capture_client.c | 1 - 1 file changed, 1 deletion(-) diff --git a/capture_client.c b/capture_client.c index b9c7039..667ce0b 100644 --- a/capture_client.c +++ b/capture_client.c @@ -70,7 +70,6 @@ disk_thread (void *arg) size_t bytes_per_frame = samples_per_frame * sample_size; void *framebuf = malloc (bytes_per_frame); - pthread_setcanceltype (PTHREAD_CANCEL_ASYNCHRONOUS, NULL); pthread_mutex_lock (&disk_thread_lock); info->status = 0;