google.golang.org/grpc/internal/transport.Stream.compareAndSwapState (method)
3 uses
google.golang.org/grpc/internal/transport (current package)
http2_client.go#L873: if !s.compareAndSwapState(streamActive, streamWriteDone) {
http2_server.go#L640: s.compareAndSwapState(streamActive, streamReadDone)
transport.go#L307: func (s *Stream) compareAndSwapState(oldState, newState streamState) bool {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |