Skip to content

Commit 7a7792d

Browse files
tmatthfalkTX
authored andcommitted
capture_client: remove unnecessary pthread_set_cancel_type
1 parent 0d27c21 commit 7a7792d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

example-clients/capture_client.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ disk_thread (void *arg)
7979
size_t bytes_per_frame = samples_per_frame * sample_size;
8080
void *framebuf = malloc (bytes_per_frame);
8181

82-
pthread_setcanceltype (PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
8382
pthread_mutex_lock (&disk_thread_lock);
8483

8584
info->status = 0;

0 commit comments

Comments
 (0)