Make OpenWebRX be more responsive and load faster!
This commit is contained in:
parent
d56fc2d799
commit
47333b6690
1 changed files with 1 additions and 1 deletions
2
csdr.c
2
csdr.c
|
@ -136,7 +136,7 @@ int bigbufs = 0;
|
||||||
//change on on 2015-08-29: we don't yield at all. fread() will do it if it blocks
|
//change on on 2015-08-29: we don't yield at all. fread() will do it if it blocks
|
||||||
#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 fflush(stdout); sched_yield()
|
||||||
//unsigned yield_counter=0;
|
//unsigned yield_counter=0;
|
||||||
|
|
||||||
int badsyntax(char* why)
|
int badsyntax(char* why)
|
||||||
|
|
Loading…
Reference in a new issue