Skip to content

Commit 6292116

Browse files
Add some comments.
1 parent bba4fba commit 6292116

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Modules/_xxinterpchannelsmodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,9 +1091,13 @@ static int
10911091
_channelends_is_open(_channelends *ends)
10921092
{
10931093
if (ends->numsendopen != 0 || ends->numrecvopen != 0) {
1094+
// At least one interpreter is still associated with the channel
1095+
// (and hasn't been released).
10941096
return 1;
10951097
}
1098+
// XXX This is wrong if an end can ever be removed.
10961099
if (ends->send == NULL && ends->recv == NULL) {
1100+
// The channel has never had any interpreters associated with it.
10971101
return 1;
10981102
}
10991103
return 0;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy