Hallo,
Martin Stoufer hat gesagt: // Martin Stoufer wrote:

> Can someone in the know offer up a few pointers or links to code that
> implements a singleton inside a WebKit context?
> 
> I've attempted to incorporate the instantiation of a singleton class in
> the __init__ of the context, but that doesn't seem to be doing the
> trick. It gets instantiated when the context is created, but
> subsequently so each time a script in that dir is called as well.

I don't know if it's a singleton the the technical sense, but Ian
Bicking's ParamFactory.py saved my *ss in several threading-related
issues by providing unique objects.

ciao
-- 
 Frank Barknecht                               _ ______footils.org__


-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to