- Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Description
The current implementation of buffered and unbuffered channels is not compatible with the way the Select op is implemented by Go (http://www.tapirgames.com/blog/golang-concurrent-select-implementation). We need to redesign the channel implementations in a way similar to Go (https://github.com/golang/go/blob/master/src/runtime/chan.go#L417)
This involves making the channels contain a queue of Send and receive routines. In Go the goroutine can be stored inside an object. In our case, we need to create data structres that let us make the thread sleep or wake.
Metadata
Metadata
Assignees
Labels
No labels