![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /proc/self/root/usr/lib/node_modules/npm/node_modules/lockfile/ |
to ACQUIRE(lockname) - create server, listen on lockname - if enotsock, WATCH(lockname) - if eaddrinuse, - CONNECT(lockname) - unref server - lock has been acquired via server ! on connection, place sockets in queue to RELEASE(lockname) - if acquired via connection - disconnect - if acquired via server - send "OK" to front-most connection - when connection disconnects, RELEASE(lockname) - if acquired via filename - unlink file to CONNECT(lockname) - net.connect(lockname) - if enoent or socket termination, ACQUIRE(lockname) - when server says "OK", - lock has been acquired via connection to WATCH(lockname) - fs.watch(lockname) - on change, ACQUIRE(lockname)