NewSequentialSignalHandler returns an instance of a new signal handler that guarantees sequential processing of signals. It is a guarantee of this signal handler that signals will be written to channels in the order they are received on the DBus connection.
()
| 9 | // guarantee of this signal handler that signals will be written to |
| 10 | // channels in the order they are received on the DBus connection. |
| 11 | func NewSequentialSignalHandler() SignalHandler { |
| 12 | return &sequentialSignalHandler{} |
| 13 | } |
| 14 | |
| 15 | type sequentialSignalHandler struct { |
| 16 | mu sync.RWMutex |
no outgoing calls
searching dependent graphs…