Boost logo

Boost Users :

Subject: Re: [Boost-users] What does "RALL-style" means ?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-01 01:24:32


AMDG

ZouLei wrote:
> When I refer the document of thread library, a word "RALL-style" appear in
> the introduction of the class lock_guard: This provides simple RAII-style
> locking of a Lockable object, to facilitate exception-safe locking and
> unlocking.
>
> I didn't got the main point of this word "RALL-style", could anyone tell me
> the meaning ? Thanks.
>

It's RAII, not RALL, and it stands for Resource Acquisition Is
Initialization.
I basically means that every resource, such as a lock, is owned by an object
whose destructor releases it.

In Christ,
Steven Watanabe
 


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net