[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: TReentrantLock.js
import * as internal from "./internal/stm/tReentrantLock.js"; /** * @since 2.0.0 * @category symbols */ export const TReentrantLockTypeId = internal.TReentrantLockTypeId; /** * Acquires a read lock. The transaction will suspend until no other fiber is * holding a write lock. Succeeds with the number of read locks held by this * fiber. * * @since 2.0.0 * @category mutations */ export const acquireRead = internal.acquireRead; /** * Acquires a write lock. The transaction will suspend until no other fibers * are holding read or write locks. Succeeds with the number of write locks * held by this fiber. * * @since 2.0.0 * @category mutations */ export const acquireWrite = internal.acquireWrite; /** * Retrieves the number of acquired read locks for this fiber. * * @since 2.0.0 * @category mutations */ export const fiberReadLocks = internal.fiberReadLocks; /** * Retrieves the number of acquired write locks for this fiber. * * @since 2.0.0 * @category mutations */ export const fiberWriteLocks = internal.fiberWriteLocks; /** * Just a convenience method for applications that only need reentrant locks, * without needing a distinction between readers / writers. * * See `TReentrantLock.writeLock`. * * @since 2.0.0 * @category mutations */ export const lock = internal.lock; /** * Determines if any fiber has a read or write lock. * * @since 2.0.0 * @category mutations */ export const locked = internal.locked; /** * Makes a new reentrant read/write lock. * * @since 2.0.0 * @category constructors */ export const make = internal.make; /** * Obtains a read lock in a scoped context. * * @since 2.0.0 * @category mutations */ export const readLock = internal.readLock; /** * Retrieves the total number of acquired read locks. * * @since 2.0.0 * @category mutations */ export const readLocks = internal.readLocks; /** * Determines if any fiber has a read lock. * * @since 2.0.0 * @category mutations */ export const readLocked = internal.readLocked; /** * Releases a read lock held by this fiber. Succeeds with the outstanding * number of read locks held by this fiber. * * @since 2.0.0 * @category mutations */ export const releaseRead = internal.releaseRead; /** * Releases a write lock held by this fiber. Succeeds with the outstanding * number of write locks held by this fiber. * * @since 2.0.0 * @category mutations */ export const releaseWrite = internal.releaseWrite; /** * Runs the specified workflow with a lock. * * @since 2.0.0 * @category mutations */ export const withLock = internal.withLock; /** * Runs the specified workflow with a read lock. * * @since 2.0.0 * @category mutations */ export const withReadLock = internal.withReadLock; /** * Runs the specified workflow with a write lock. * * @since 2.0.0 * @category mutations */ export const withWriteLock = internal.withWriteLock; /** * Obtains a write lock in a scoped context. * * @since 2.0.0 * @category mutations */ export const writeLock = internal.writeLock; /** * Determines if a write lock is held by some fiber. * * @since 2.0.0 * @category mutations */ export const writeLocked = internal.writeLocked; /** * Computes the number of write locks held by fibers. * * @since 2.0.0 * @category mutations */ export const writeLocks = internal.writeLocks; //# sourceMappingURL=TReentrantLock.js.map
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium331.web-hosting.com
Server IP: 184.94.213.169
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium331.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.84 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: livedhms
User ID (UID): 1344
Group ID (GID): 1349
Script Owner UID: 1344
Current Dir Owner: 1344