open-vault/helper/mlock/mlock_unavail.go
2015-04-28 14:59:43 -07:00

14 lines
275 B
Go

// +build windows plan9 darwin freebsd openbsd solaris
package mlock
func init() {
supported = false
}
func lockMemory() error {
// XXX: No good way to do this on Windows. There is the VirtualLock
// method, but it requires a specific address and offset.
return nil
}