Are smart pointers threadsafe?

Raf Schietekat
Total Points:
16,805
Status Points:
16,805
Black Belt
May 9, 2008 5:28 AM PDT
Rate
 
#11 Reply to #10
The code was actually correct, if a bit convoluted, because the result of the postfix decrement was compared with 1, but keeping the original code would have been easier all right.



Intel Software Network Forums Statistics

8489 users have contributed to 31627 threads and 100761 posts to date.
In the past 24 hours, we have 33 new thread(s) 145 new posts(s), and 197 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to Crash when loading skeleton The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member chat1983