Skip to content

Cancel all pending asynchronous socket I/O on Windows upon deinit(). #5

Open
@lithdew

Description

@lithdew

On Windows, Socket.call() is responsible for driving the asynchronous execution of a socket I/O syscall.

What needs to be done is that prior to the execution of a syscall, an async frame should be queued to an atomic queue of frames stored in a Socket. Upon executing Socket.deinit(), all frames should be forcibly resumed with a flag that would cause error.OperationCancelled to be returned by Socket.call().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions