Re: [PATCH-perfbook 4/4] glossary: Use more common definition of RAII

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 01, 2022 at 09:07:51PM +0100, Johann Klähn wrote:
> Cf. https://en.cppreference.com/w/cpp/language/raii or
> https://en.wikipedia.org/wiki/Resource_acquisition_is_initialization.
> 
> Signed-off-by: Johann Klähn <johann@xxxxxxxxxx>

Huh.  I definitely remember it being "resource allocation is
initialization".  And I do see older uses of "allocation" rather than
"acquisition".  Perhaps it changed once RAII locking entered the picture.

Might as well keep up with the times.  ;-)

I took all but the hazptr change.  I am not necessarily opposed to that
one, but I did want to check whether you had built and tested it.

Thank you!!!

							Thanx, Paul

> ---
>  glsdict.tex | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/glsdict.tex b/glsdict.tex
> index 194f364d..d1468859 100644
> --- a/glsdict.tex
> +++ b/glsdict.tex
> @@ -237,8 +237,8 @@
>  \newacronym{numa}{NUMA}{non-uniform memory architecture}
>  \newacronym{qsbr}{QSBR}{quiescent-state-based reclamation}
>  \newabbreviation{qsbr:m}{QSBR}{quiescent-state-based-reclamation}
> -\newacronym{raii}{RAII}{resource allocation is initialization}
> -\newabbreviation{raii:m}{RAII}{resource-allocation-is-initialization}
> +\newacronym{raii}{RAII}{resource acquisition is initialization}
> +\newabbreviation{raii:m}{RAII}{resource-acquisition-is-initialization}
>  \newacronym{rcu}{RCU}{read-copy update}
>  \newacronym{smp}{SMP}{symmetric multiprocessing}
>  \newabbreviation{smp:m}{SMP}{symmetric-multiprocessing}
> -- 
> 2.34.1
> 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux