Proc definitions are copied to other threads but things executed on init are not. Class definitions are created by running the 'class' proc and since execution does not happen in a copied thread we need trace to re-run the class proc.

On 12/22/17 8:56 AM, Pavel Jurečka wrote:
Hi Tony,

thanks for info and examples on garbage collecting. I played little with it and 
it works.
And i agree with you. It looks like TclOO doesnt play nice with naviserver.
I think, for now i stay with good old flat proc's. Anyway, as some wise-man said: 
"OO isnt cure for everything" :)

Just out of curiosity... why must classes be inside "trace" and initializing 
them like proc in init.tcl isn't enough?



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to