Browse Source

Make sure to check the pthread conditional when polling for stalled sends since there will always be a send in the list

master
Con Kolivas 10 years ago
parent
commit
611a06b31f
  1. 2
      src/connector.c

2
src/connector.c

@ -336,7 +336,7 @@ void *sender(void *arg)
int ret, fd, ofs = 0; int ret, fd, ofs = 0;
mutex_lock(&sender_lock); mutex_lock(&sender_lock);
if (!sender_sends) { if (!sender_sends || polling) {
ts_t timeout_ts; ts_t timeout_ts;
ts_realtime(&timeout_ts); ts_realtime(&timeout_ts);

Loading…
Cancel
Save