github.com/keysonZZZ/kmg@v0.0.0-20151121023212-05317bfd7d39/kmgProcessMutex/mutex_windows.go (about)

     1  package kmgProcessMutex
     2  
     3  import "os"
     4  
     5  type FileMutex struct {
     6  	isOwner  bool
     7  	filePath string
     8  	Name     string
     9  	f        *os.File
    10  }
    11  
    12  func (fm *FileMutex) Lock() {
    13  	panic("Not Support for Windows")
    14  }
    15  
    16  func (fm *FileMutex) UnLock() {
    17  	panic("Not Support for Windows")
    18  }