3 ms·
I suppose you could try listening on a socket at a specific port. The next process would get EADDRINUSE if you were still running. There's also sysv or posix s
by tyingq 5y ago
I suppose you could try listening on a socket at a specific port. The next process would get EADDRINUSE if you were still running.
There's also sysv or posix semaphores.