Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

hidez8891/shm

Repository files navigation

shm

Build Status

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages