We set it but do not read it.
Signed-off-by: Sage Weil <sage@inktank.com>
state(st),
session_security(NULL),
connection_state(NULL),
- reader_running(false), reader_needs_join(false), reader_joining(false), writer_running(false),
+ reader_running(false), reader_needs_join(false),
+ writer_running(false),
in_q(&(r->dispatch_queue)),
keepalive(false),
close_on_empty(false),
{
if (!reader_running)
return;
- assert(!reader_joining);
- reader_joining = true;
cond.Signal();
pipe_lock.Unlock();
reader_thread.join();
pipe_lock.Lock();
- assert(reader_joining);
- reader_joining = false;
reader_needs_join = false;
}
utime_t backoff; // backoff time
- bool reader_running, reader_needs_join, reader_joining;
+ bool reader_running, reader_needs_join;
bool writer_running;
map<int, list<Message*> > out_q; // priority queue for outbound msgs