mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominic Hamon (JIRA)" <>
Subject [jira] [Commented] (MESOS-1023) Replace all static/global variables with non-POD type
Date Thu, 20 Feb 2014 19:23:24 GMT


Dominic Hamon commented on MESOS-1023:

Yes, they'll be called in reverse construction order from exit. However, another thread can
spin up during this time (between the call to exit and the end of static destruction) and
try to access the objects.

> Replace all static/global variables with non-POD type
> -----------------------------------------------------
>                 Key: MESOS-1023
>                 URL:
>             Project: Mesos
>          Issue Type: Bug
>          Components: general
>            Reporter: Dominic Hamon
>            Assignee: Dominic Hamon
>              Labels: c++
>             Fix For: 0.19.0
> See
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

View raw message