shm-buffer
shared memory segment bindings for node.js that work in 0.10+
## Installing
npm install node-shm-buffer
Usage
shm = require("node-shm-buffer")
buffer = shm.open(key, flags, mode, size)
buffer.delete() // deletes the shared memory region
key | System's id for the shared memory block. |
flags |
|
mode | The permissions that you wish to assign to your memory segment, those are the same as permission for a file. Permissions need to be passed in octal form, like for example 0644. |
size | The size of the shared memory block you wish to create in bytes. |