explain the two *channel_inuse fields somewhat better

This commit is contained in:
Daniel Stenberg 2008-12-02 23:00:10 +00:00
parent 16a153468d
commit f7ea431516
1 changed files with 4 additions and 0 deletions

View File

@ -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