14 years, 1 month ago
Highlights
14 years, 1 month ago
Worth noting that one of the potential performance issues with shared_ptr is that the ref count has to be allocated on the heap. Boost also provides intrusive_ptr - same as shar…
14 years, 1 month ago
The mutex must be shared between the threads, so move the mutex declaration out of the hello function and make it global instead. At the moment each thread has its own mutex, so…
14 years, 1 month ago