[Petal] [PATCH] Options via constructor rather than package globals

Fergal Daly fergal at esatclear.ie
Thu Jun 5 15:17:03 BST 2003


On Thursday 05 June 2003 11:01 am, Jean-Michel Hiver wrote:
> Having the options at an object level did really involve quite a lot of
> changes. So instead of making the rest of Petal code aware of per-object
> options, I changed the process() method to declare the global options
> variables as local and set them to the per-objects options.

I think this pretty much guarantees that using these features with threads is 
not safe. I'm not sure how many people will want to use Petal with threads 
but...

F



More information about the Petal mailing list