Dominic Hamon created MESOS-1023:
------------------------------------

             Summary: Replace all static/global variables with non-POD type
                 Key: MESOS-1023
                 URL: https://issues.apache.org/jira/browse/MESOS-1023
             Project: Mesos
          Issue Type: Bug
          Components: general
            Reporter: Dominic Hamon
             Fix For: 0.19.0


See 
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Static_and_Global_Variables
 for the background.

Real bugs have been seen. For example, in process::ID::generate we have a 
map<string, int> that can be accessed within the function after exit has been 
called. Ie, we can try to access the map after it's been destroyed, but before 
exit has completed.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to