Searched refs:compareAndSwapState (Results 1 – 3 of 3) sorted by relevance
226 func (s *Stream) compareAndSwapState(oldState, newState streamState) bool { func
604 s.compareAndSwapState(streamActive, streamReadDone)
756 if !s.compareAndSwapState(streamActive, streamWriteDone) {