1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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

View File

@ -978,6 +978,10 @@ struct connectdata {
struct sockaddr_in local_addr; struct sockaddr_in local_addr;
#endif #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 bool readchannel_inuse; /* whether the read channel is in use by an easy
handle */ handle */
bool writechannel_inuse; /* whether the write channel is in use by an easy bool writechannel_inuse; /* whether the write channel is in use by an easy