This repository was archived by the owner on Dec 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
optimized thread safe smart pointer template for c++ reference counting
License
MIT, MIT licenses found
Licenses found
MIT
LICENSE
MIT
COPYING
mgrosso/ptr.h
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
ptr.h
a template based reference counting smart pointer, similar to <auto_ptr>,
but without the limiting exclusive ownership semantics. It uses a semaphore
or, on supported platforms, a simple atomic exchange-and-add to achieve
thread safety without using a mutex, so it never blocks and adds only a very
small constant time overhead. The generous MIT license terms let you do pretty
much whatever you want with it as long as you dont blame me.
http://sourceforge.net/projects/ptr/
About
optimized thread safe smart pointer template for c++ reference counting
Resources
License
MIT, MIT licenses found
Licenses found
MIT
LICENSE
MIT
COPYING
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published