High-performance async semaphore service useable with long string ipc keys stored in memory.
C JavaScript Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
src
test
.gitignore
Makefile
README.md

README.md

semserv

High-performance async semaphore service useable with long string ipc keys stored in memory.

Build

Compile and run semserv server with make && ./build/semserv

Example

Run client with node

Client 1
> require('test/test.js')
> semserv('key1', 1/*acquire*/)
Client 2
> require('test/test.js')
> semserv('key1', 1)
> semserv('key1', 2/*release*/)
> semserv('key1', 2)

Contributing

Patches welcome.

(Node.js is good for playground.)

Todo

  • PHP Adapter
  • Node.js Adapter