lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Aha! Good to know.:) 
Thanks a lot,
AB

 -----Original Message-----
From: 	Nick Trout [mailto:nick@rockstarvancouver.com] 
Sent:	Thursday, May 08, 2003 5:21 PM
To:	Multiple recipients of list
Subject:	RE: GC order


> So Lua is free of circularity problems? Does this mean that 
> if A referred to B and B referred to A, there is a way in Lua 
> one can somehow cause garbage-collection on either A or B? I 
> was under impression it would have been the case where 
> neither one would get GCed. I guess I am not sure what a 
> circularity problem is. Hmm...

They are collected as shown here:

Lua 5.0  Copyright (C) 1994-2003 Tecgraf, PUC-Rio
> = gcinfo()
18 37

[chop-chop]