Skip to content
 
 

Repository files navigation

This repo is a fork of original repo https://github.com/hidez8891/shm.

Just added versioning for beautiful look in go.mod file.

shm

shm is Golang shared memory library.

Example

w, _ := shm.Create("shm_name", 256)
defer w.Close()

r, _ := shm.Open("shm_name", 256)
defer r.Close()

wbuf := []byte("Hello World")
w.Write(wbuf)

rbuf := make([]byte, len(wbuf))
r.Read(rbuf)
// rbuf == wbuf

About

Golang shared memory library

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages