-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
P1medium prioritymedium priorityX [cross-interpreter]e.g. channelse.g. channelsX [stdlib API]exposing C impl in Python codeexposing C impl in Python codecomplexity: mediummoderately hard to figure outmoderately hard to figure outsize: mediumrequires a moderate amount of changesrequires a moderate amount of changestype: enhancement
Description
Currently the low-level function to "send" an object over a channel is fire-and-forget. We need a way to do the same thing but block until the object is received.
Solutions:
- return a lock from
channel_send()
(and ignore it for the current functionality) - add a separate
channel_send_wait()
to explicitly wait
Metadata
Metadata
Assignees
Labels
P1medium prioritymedium priorityX [cross-interpreter]e.g. channelse.g. channelsX [stdlib API]exposing C impl in Python codeexposing C impl in Python codecomplexity: mediummoderately hard to figure outmoderately hard to figure outsize: mediumrequires a moderate amount of changesrequires a moderate amount of changestype: enhancement