From: Daniel Stenberg Date: Tue, 2 Dec 2008 23:00:10 +0000 (+0000) Subject: explain the two *channel_inuse fields somewhat better X-Git-Tag: cares-1_6_0~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7ea43151623042dc8e51d6c4076bdddf515f5a1;p=curl explain the two *channel_inuse fields somewhat better --- diff --git a/lib/urldata.h b/lib/urldata.h index 42da3e862..707377560 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -978,6 +978,10 @@ struct connectdata { struct sockaddr_in local_addr; #endif + /* the two following *_inuse fields are only flags, not counters in any way. + If TRUE it means the channel is in use, and if FALSE it means the channel + is up for grabs by one. */ + bool readchannel_inuse; /* whether the read channel is in use by an easy handle */ bool writechannel_inuse; /* whether the write channel is in use by an easy