fc81a301b8
Fixes #2119
14 lines
271 B
Go
14 lines
271 B
Go
// +build android darwin nacl netbsd plan9 windows
|
|
|
|
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
|
|
}
|