Click here to Skip to main content
15,867,488 members
Articles / Programming Languages / C++11

Designing Efficient Thread-Safe Reference Counting System

Rate me:
Please Sign up or sign in to vote.
5.00/5 (16 votes)
29 Jun 2017CPOL20 min read 26K   202   22  
This article describes an efficient thread-safe reference counting system.
This article presents an implementation of an efficient reference counting system which supports user-provided allocators, weak references, and is thread-safe.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
Being a 3D graphics enthusiast for many years, I have worked on various rendering technologies including deformable terrain, physically-based water, shadows, volumetric and post-processing effects and other. I run Diligent Graphics as a place where I can experiment, learn new technologies, try new algorithms and share my ideas.

Comments and Discussions