SILENT KILLERPanel

Current Path: > > usr > > lib > > node_modules > > npm > node_modules > lockfile


Operation   : Linux premium131.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
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr//lib//node_modules//npm/node_modules/lockfile

NameTypeSizeLast ModifiedActions
.travis.yml File 126 bytes March 10 2021 14:36:37.
CHANGELOG.md File 1825 bytes March 10 2021 14:36:37.
LICENSE File 765 bytes March 10 2021 14:36:37.
README.md File 2078 bytes March 10 2021 14:36:37.
gen-changelog.sh File 238 bytes March 10 2021 14:36:37.
lockfile.js File 8420 bytes March 10 2021 14:36:37.
package.json File 1734 bytes March 10 2021 14:36:37.
sockets.md File 700 bytes March 10 2021 14:36:37.
speedtest.js File 1378 bytes March 10 2021 14:36:37.

Reading File: //usr//lib//node_modules//npm/node_modules/lockfile/sockets.md

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)

SILENT KILLER Tool