Browse Source

ckdb - ensure the listener queues can empty

master
kanoi 9 years ago
parent
commit
1c0f55c06d
  1. 10
      src/ckdb.c
  2. 2
      src/ckdb.h

10
src/ckdb.c

@ -4006,9 +4006,8 @@ static void *clistener(__maybe_unused void *arg)
if (wq_item) {
process_sockd(conn, wq_item);
tick();
}
cksleep_ms(42);
} else
cksleep_ms(42);
}
clistener_using_data = false;
@ -4048,9 +4047,8 @@ static void *blistener(__maybe_unused void *arg)
if (wq_item) {
process_sockd(conn, wq_item);
tick();
}
cksleep_ms(142);
} else
cksleep_ms(142);
}
blistener_using_data = false;

2
src/ckdb.h

@ -55,7 +55,7 @@
#define DB_VLOCK "1"
#define DB_VERSION "1.0.4"
#define CKDB_VERSION DB_VERSION"-1.701"
#define CKDB_VERSION DB_VERSION"-1.702"
#define WHERE_FFL " - from %s %s() line %d"
#define WHERE_FFL_HERE __FILE__, __func__, __LINE__

Loading…
Cancel
Save