Closed jnfeinstein closed 3 years ago
I don't know, if the (POSIX or System 5 IPC) semaphores are the right way for nodejs. On Windows systems it is problem. I think, that semaphores are principally some kind of polling too.
I use 2 way of synchronisation:
Info packets through sockets seems to be more universal way, and very native (events) for nodejs.
C source code of this SHM library was created from PHP source code ... there are semaphores too.
It would be great if this library also supported semaphores. I'm working on an ipc library using this library and need semaphores to do blocking receives without polling. I can help do the work if you can point me in the right direction.