This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: static modules and local vars
- From: "62945" <62945 at bol dot com dot br>
- To: "kawa" <kawa at sources dot redhat dot com>
- Date: Sat, 7 Aug 2004 18:37:27 -0300
- Subject: Re: static modules and local vars
Per wrote:
> 62945 wrote:
>
> > I have doubts concerning static modules and thread
safety:
>
> There are some issues with thread safety of global
> variables, which I plan on redesigning.
>
> However, as Chris explains in his reply: I don't
believe there
> are any thread-safety issues for local variables.
>
> > are local (inner-scope) variables in a static module
> > transformed (after compilation) to static class
variables ?
>
> No.
>
I imagine this implies that closures coming from a
static module are safe as well (since they be stack
things when in use)
(thanks for all light-speed replies)
__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/