Skip to content

PollSet::add()/update() semantics #3661

@aleks-f

Description

@aleks-f

When adding a socket to the PollSet, the resulting mode should be "cumulative", ie. adding a socket to the PollSet for read monitoring, then adding the same socket for write monitoring should result in socket being monitored for read and write.

When updating the socket, the new mode should overwrite completely any previous mode, ie. updating socket with read mode, the updating it with write mode should result in socket being monitored for write mode only.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions