Skip to content

pipe_notify() requires certain sequencing of cleanup actions #143

Closed
@shikokuchuo

Description

@shikokuchuo

pipe_notify() currently takes a socket and registers pipe events against the conditionVariable supplied. This means that the 'cv' has to remain available (and cannot be garbage collected before) the socket is closed, or the pipe notification cancelled.

It is currently assumed that expert users of this function would ensure that this happens, but there is no failsafe mechanism.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions