(readOnly bool)
| 151 | } |
| 152 | |
| 153 | func (s *ServerState) GetTimestamp(readOnly bool) uint64 { |
| 154 | tr := tsReq{readOnly: readOnly, ch: make(chan uint64)} |
| 155 | s.needTs <- tr |
| 156 | return <-tr.ch |
| 157 | } |
| 158 | |
| 159 | func (s *ServerState) fillTimestampRequests() { |
| 160 | const ( |
no outgoing calls
no test coverage detected