[prev in list] [next in list] [prev in thread] [next in thread]
List: subversion-dev
Subject: Re: svn commit: r1849445 - /subversion/trunk/subversion/bindings/cxx/src/aprwrap/impl.cpp
From: Branko_Čibej <brane () apache ! org>
Date: 2018-12-20 23:51:41
Message-ID: 498d8c7f-8dd1-786f-eb4d-197aae661359 () apache ! org
[Download RAW message or body]
On 21.12.2018 00:49, brane@apache.org wrote:
> Author: brane
> Date: Thu Dec 20 23:49:25 2018
> New Revision: 1849445
>
> URL: http://svn.apache.org/viewvc?rev=1849445&view=rev
> Log:
> Use the standard call_once pattern to initialize the SVN++ global pool.
>
> * subversion/bindings/cxx/src/aprwrap/impl.cpp:
> - Include <mutex>
> - Do not include apr_time.h or private/svn_atomic.h.
> (Pool::get_root_pool): Replace manual atomic initialization crud with
> std::call_once and std::once_flag.
And this is where modern C++ really starts to shine.
-- Brane
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic