14 lines
267 B
Go
14 lines
267 B
Go
// +build windows plan9 darwin freebsd openbsd
|
|
|
|
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
|
|
}
|