2015-04-23 23:10:50 +00:00
|
|
|
// +build windows plan9 darwin freebsd openbsd solaris
|
2015-04-19 20:42:47 +00:00
|
|
|
|
2015-04-28 21:59:43 +00:00
|
|
|
package mlock
|
2015-04-19 20:42:47 +00:00
|
|
|
|
2015-04-28 21:59:43 +00:00
|
|
|
func init() {
|
|
|
|
supported = false
|
|
|
|
}
|
|
|
|
|
|
|
|
func lockMemory() error {
|
2015-04-19 20:42:47 +00:00
|
|
|
// XXX: No good way to do this on Windows. There is the VirtualLock
|
|
|
|
// method, but it requires a specific address and offset.
|
|
|
|
return nil
|
|
|
|
}
|