Solved

thread safe smart pointers

Posted on 2009-05-15
2
369 Views
Last Modified: 2013-11-26
Hello
Does anybody have an example of implementing thread safe pointer reference counting ?

I would be happy for a piece of sample code,that works with Visual studio 2005
0
Comment
Question by:lhl60
2 Comments
 
LVL 40

Expert Comment

by:evilrix
Comment Utility
Try taking a look at how it's implemented in boost::share_ptr

http://www.boost.org/doc/libs/1_38_0/libs/smart_ptr/shared_ptr.htm
0
 
LVL 4

Accepted Solution

by:
lhl60 earned 0 total points
Comment Utility
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now