c++ - std::locale/std::facet Critical section -
c++ - std::locale/std::facet Critical section -
out of curiosity. in past i've seen performance degradation in function boost::to_lower because of criticalsection employed in std::use_facet when lazy facet allocated. far remember there bug global lock on locale according stephan lavavej fixed in vs2013. , voila, saw lock on facet killing server performance yesterday guess i'm confusing 2 different issues. in first place, why there criticalsection around lazy facet? ruin performance. why didnt resolve kind of upgradable lock or atomic operations on pointers?
c++ multithreading visual-c++ locale
Comments
Post a Comment