An open API service indexing awesome lists of open source software.

https://github.com/nim-works/arc

a hack to access reference counters with atomics
https://github.com/nim-works/arc

arc atomics concurrency continuations counting isolate memory nim orc ref reference threads

Last synced: 7 months ago
JSON representation

a hack to access reference counters with atomics

Awesome Lists containing this project

README

          

# arc

[![Test Matrix](https://github.com/nim-works/arc/workflows/CI/badge.svg)](https://github.com/nim-works/arc/actions?query=workflow%3ACI)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/nim-works/arc?style=flat)](https://github.com/nim-works/arc/releases/latest)
![Minimum supported Nim version](https://img.shields.io/badge/nim-1.2.13%2B-informational?style=flat&logo=nim)
[![License](https://img.shields.io/github/license/nim-works/arc?style=flat)](#license)

This module provides a few simple functions to read/write the reference counter
of a Nim reference using atomics.

Only `gc:arc` and `gc:orc` are supported.

## Documentation
See [the documentation for the arc module](https://nim-works.github.io/arc/arc.html) as generated directly from the source.

## License
MIT