()
| 378 | } |
| 379 | |
| 380 | func (s *sequenceState) clearLocked() { |
| 381 | s.mu.Lock() |
| 382 | defer s.mu.Unlock() |
| 383 | s.smu.Lock() |
| 384 | defer s.smu.Unlock() |
| 385 | s.mmu.Lock() |
| 386 | defer s.mmu.Unlock() |
| 387 | s.clear() |
| 388 | } |
| 389 | |
| 390 | // next determines whether the next expression in the |
| 391 | // sequence should be evaluated. The expression is evaluated |