zhangmeng
2019-08-26 4338cf10114f5176d120719cbc51bdc2177eae1c
shm.go
@@ -4,8 +4,9 @@
   "errors"
   "fmt"
   "io"
   "time"
   "github.com/tmthrgd/shm-go"
   "basic.com/valib/shm.git"
)
// SHM share memory
@@ -80,6 +81,7 @@
      // return nil, errors.New("shmServer created recv too much parameters")
   }
   time.Sleep(time.Millisecond)
   shm.Unlink(url)
   rw, err := shm.CreateSimplex(url, 0644, blocks, size)