import * as tsplus_module_1 from "@effect/core/stm/TRef/operations/unsafeGet";
import * as tsplus_module_2 from "@effect/core/stm/STM/operations/effect";
import { concreteTReentrantLock } from "@effect/core/stm/TReentrantLock/operations/_internal/InternalTReentrantLock";
/**
 * Retrieves the number of acquired read locks for this fiber.
 *
 * @tsplus getter ets/TReentrantLock fiberReadLocks
 */

export function fiberReadLocks(self) {
  void 0;
  return tsplus_module_2.effect((journal, fiberId) => tsplus_module_1.unsafeGet_(self.data, journal).readLocksHeld(fiberId));
}
//# sourceMappingURL=fiberReadLocks.mjs.map