SetClockSequence sets the clock sequence to the lower 14 bits of seq. Setting to -1 causes a new sequence to be generated.
(seq int)
| 94 | // SetClockSequence sets the clock sequence to the lower 14 bits of seq. Setting to |
| 95 | // -1 causes a new sequence to be generated. |
| 96 | func SetClockSequence(seq int) { |
| 97 | defer timeMu.Unlock() |
| 98 | timeMu.Lock() |
| 99 | setClockSequence(seq) |
| 100 | } |
| 101 | |
| 102 | func setClockSequence(seq int) { |
| 103 | if seq == -1 { |