import * as tsplus_module_1 from "@effect/core/stm/TRef/operations/get";
import * as tsplus_module_2 from "@effect/core/stm/STM/operations/map";
import { concreteTReentrantLock } from "@effect/core/stm/TReentrantLock/operations/_internal/InternalTReentrantLock";
/**
 * Retrieves the total number of acquired read locks.
 *
 * @tsplus getter ets/TReentrantLock readLocks
 */

export function readLocks(self) {
  void 0;
  return tsplus_module_2.map_(tsplus_module_1.get(self.data), _ => _.readLocks);
}
//# sourceMappingURL=readLocks.mjs.map