Sfoglia il codice sorgente

configurable iperf stack size

zhao maosheng 1 anno fa
parent
commit
96e7b61ec5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      iperf/iperf.c

+ 1 - 1
iperf/iperf.c

@@ -506,7 +506,7 @@ int iperf(int argc, char **argv)
                 }
             }
 
-            tid = rt_thread_create(tid_name, function, RT_NULL, 2048, 20, 100);
+            tid = rt_thread_create(tid_name, function, RT_NULL, IPERF_THREAD_STACK_SIZE, 20, 100);
             if (tid) rt_thread_startup(tid);
         }
     }