Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add TODO comments.
  • Loading branch information
ericsnowcurrently committed Oct 17, 2023
commit 031d7676a41690bcf1118b871050bdab57e04158
2 changes: 2 additions & 0 deletions Modules/_xxinterpchannelsmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1319,6 +1319,7 @@ _channel_close_interpreter(_PyChannelState *chan, int64_t interp, int end)
goto done;
}
chan->open = _channelends_is_open(chan->ends);
// XXX Activate the "closing" mechanism?

res = 0;
done:
Expand Down Expand Up @@ -1947,6 +1948,7 @@ channel_send_wait(_channels *channels, int64_t cid, PyObject *obj,
}

// Pop the next object off the channel. Fail if empty.
// XXX Support a "wait" mutex?
static int
channel_recv(_channels *channels, int64_t id, PyObject **res)
{
Expand Down