On Fri, Mar 06, 2009 at 06:52:05PM -0800, Kenton Varda wrote:
> On Fri, Mar 6, 2009 at 6:41 PM, Marc Vaillant wrote:
>
>
> Static is dangerous in multithreaded scenarios for obvious reasons.
> These issues just add more complications.
>
>
> Static constants ar
th the background thread still running.
>
> On Fri, Mar 6, 2009 at 11:13 AM, Marc Vaillant wrote:
>
> On Fri, Mar 06, 2009 at 09:52:07AM -0800, Kenton Varda wrote:
> > On Fri, Mar 6, 2009 at 5:50 AM, marc wrote:
> >
> > Isn't this
On Fri, Mar 06, 2009 at 09:52:07AM -0800, Kenton Varda wrote:
> On Fri, Mar 6, 2009 at 5:50 AM, marc wrote:
>
> Isn't this a common scenario in C++ for which stdlib provides a simple
> solution, std::auto_ptr? std::auto_ptr is a lightweight class designed
> to "RAIIify" pointers. Wh