Re: Release/Tree closing


Subject: Re: Release/Tree closing
From: Hubert Figuiere (hfiguiere@teaser.fr)
Date: Thu Jul 12 2001 - 03:46:56 CDT


According to Mike Nordell <tamlin@algonet.se>:

> gr_Graphics wants a pointer, because the pointer is all it stores. Giving it
> a pointer to a local variable that goes out of scope is bound to fsck up.
> :-<
>
> Well, I'll fix it by defining that stack variable "static", close the bug,
> commit and post a commit msg in a little while.

Please don't go with static local vars as this will fsck up everything in a
potentially multi-thread environment. Keep that in mind.

I'm pretty sure that there are other ways to do.

Hub



This archive was generated by hypermail 2b25 : Thu Jul 12 2001 - 03:46:33 CDT