On 2015-04-28 04:52, Simon Hausmann wrote:
> [getenv/setenv not thread safe]
> 
> There are various options about what we can do with different degrees of 
> "perfection",
> but ultimately it's all going to require a compromise. The option that we are 
> favoring
> at the moment is two-fold:
> 
> 1) Policy in Qt is to use the Qt wrappers for accessing the environment 
> (qgetenv, etc.).
> 
> 2) These functions we protect with a mutex.
> 
> The concrete proposal of change is at
> 
>       https://codereview.qt-project.org/#/c/111158/
> 
> What do you think?

Is there a reason not to use a read/write mutex for this?

-- 
Matthew

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to