Skip to content

rohanrhu/semserv

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
src
 
 
 
 
 
 
 
 
 
 

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published