Registry / networking / gen2brain-shm

gen2brain-shm

JSON →
library0.2.1gogounverified

Package shm implements System V shared memory functions (shmctl, shmget, shmat, shmdt) for inter-process communication.

go get github.com/gen2brain/shm
INSTALL
IMPORT
SIG · GEN2BRAIN-SHM
G
gen2brain-shm
networkinggov0.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

shm
github.com/gen2brain/shm

Creates a shared memory segment.

package main import ( "fmt" "github.com/gen2brain/shm" ) func main() { id, err := shm.Shmget(1234, 1024, shm.IPC_CREAT|0666) if err != nil { panic(err) } fmt.Printf("Shared memory ID: %d\n", id) }
Debug
Known issues
gotchaSystem V shared memory is platform-specific and may not work on all systems (e.g., Windows).
fix
Use only on Unix-like systems (Linux, macOS).
affects: all
Upgrade
Version history
0.2.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
OpenAI (training)
1
Resources
gen2brain-shm — go get gen2brain-shm · libregistry