MozillaZine

Thread safe ref counting in standalone XPCOM linkage

Discuss building things with or for the Mozilla Platform.
aarkan
 
Posts: 6
Joined: April 8th, 2014, 8:33 am

Post Posted April 9th, 2014, 8:22 am

I am working on an embedder application using gecko sdk #28. I want to use thread-safe refcounting but it seems it is not available when using XPCOM_GLUE.
So, my question is that is it safe to use non-atomic ref-counting? Is it intended and tested behavior for standalone applications?

Return to Mozilla Development


Who is online

Users browsing this forum: No registered users and 1 guest