This commit is contained in:
ha7ilm 2017-04-12 23:36:59 +02:00
parent 7fde9c81b5
commit 6aa55f8195

6
csdr.c
View file

@ -134,6 +134,12 @@ int bigbufs = 0;
#define YIELD_EVERY_N_TIMES 3 #define YIELD_EVERY_N_TIMES 3
//#define TRY_YIELD if(++yield_counter%YIELD_EVERY_N_TIMES==0) sched_yield() //#define TRY_YIELD if(++yield_counter%YIELD_EVERY_N_TIMES==0) sched_yield()
#define TRY_YIELD #define TRY_YIELD
#ifdef __CYGWIN__
#pragma message "we go the cyg way"
#undef TRY_YIELD
int flush_cntr = 0;
#define TRY_YIELD fflush(stdout); sched_yield()
#endif
//unsigned yield_counter=0; //unsigned yield_counter=0;
int badsyntax(char* why) int badsyntax(char* why)