From: MenTaLguY Date: 2007-06-09T04:48:26+09:00 Subject: Re: Synchronized attr_accessor On Sat, 9 Jun 2007 04:34:42 +0900, Nasir Khan wrote: > This works but obviously has some flaws, like for example first time > creation of attribute is unprotected as is the nil check, also it does > not address scope [private, protected etc.]. Could you describe are you trying to accomplish using these attributes? There is usually a better way to communicate between threads than setting/getting attributes on an object. -mental