Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1023

Replace all static/global variables with non-POD type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dhamon Dominic Hamon
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: