mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-11-03 20:17:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			274 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			274 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// +build windows plan9 darwin freebsd openbsd netbsd
 | 
						|
 | 
						|
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
 | 
						|
}
 |