From b77c7f53905a84f357e19fcc5b24e5042d1470dd Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Sun, 29 Sep 2024 10:53:06 +0800 Subject: [PATCH] Remove pthread --- src/chsrc-framework.h | 53 ++++--------------------------------------- 1 file changed, 4 insertions(+), 49 deletions(-) diff --git a/src/chsrc-framework.h b/src/chsrc-framework.h index cff953c..3860c1a 100644 --- a/src/chsrc-framework.h +++ b/src/chsrc-framework.h @@ -14,7 +14,7 @@ #include "xy.h" #include "source.h" -#include +// #include #define App_Name "chsrc" @@ -547,8 +547,6 @@ measure_speed_for_every_source (SourceInfo sources[], int size, double speed_rec double speed = 0.0; - pthread_t *threads = xy_malloc0 (sizeof(pthread_t) * size); - for (int i=0; i