Nick Ing-Simmons wrote:

> Snag would be for threads - and you might even get away with it there.
> I am not sure of stashes are "cloned" on thread create...

It would appear that they are cloned, and they can get out of sync in
separate threads.  One fix for getting gtk2-perl to work correctly with
threads was to disable its stash caching.  The tell-tale signs were the
"unbalanced reference count" messages on symbol names.

See the changelog entry for revision 1.41 of GObject.xs:
http://cvs.sourceforge.net/viewcvs.py/gtk2-perl/gtk2-perl-xs/Glib/GObject.xs

Reply via email to