func (m *Monitor) lock() {
	m.u.m.Lock()
}
Lock the udev context
package udev
import "C"
import (
	"errors"
	"syscall"
	"golang.org/x/sys/unix"
)
type Monitor struct {
	ptr *C.struct_udev_monitor
	u   *Udev
}
const (
	maxEpollEvents = 32
	epollTimeout   = 1000
)