This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]