Module cogo::cqueue

source · []

Structs

cqueue interface for general select model

The event that poll would return, events are generated when a select coroutine has finished it’s top half

each select coroutine would use this struct to communicate with the cqueue. the struct is created in add for each select coroutine

a handle type for the select coroutine you can only use the remove method to manually delete the coroutine

Enums

This enumeration is the list of the possible reasons that poll could not return Event when called.

Functions

Create a new scope, for select coroutines.