From: Daniel A. S. <st...@ic...> - 2001-08-29 17:29:57
|
At 18:54 +0200 on 29/8/01, Mats Bengtsson wrote: > > There are problems with > > stderr and the Wish console ... > >That problem "solved". Perhaps it could be documented somewhere. as I mentioned, that would probably be best achieved by a minmal case in a bugreport on sourceforge (hint, hint :-)) > > tclMacAlloc.c tries to make sure that there is at least TOOLBOX_SPACE >> (currently 512K) of heap space free, it would be good if your code >> could take similar precautions e.g. by implementing a similar >> strategy to what is done in tclMacAlloc.c (allocate and lock a >> purgeable handle of e.g. size 512K, then try to allocate memory the >> way you do already, then unlock the handle, next time around check if >> the handle has been purged, if yes reallocate it) > >Seems complicated. it's not that bad, just follow the idea laid out in tclMacAlloc.c, you should just be able to copy/paste most of that code. This is a pretty tradtional MacOS technique that is used in a lot of frameworks like powerplant, macapp etc >We cannot judge GUSI from its status several years ago. From its docs, >there are a lot of changes; two updates this summer. And this guy, Matthias, >refers to bug fixes with MacPerl bug numbers, so it gets some maintanence. AFAIK, Matthias now works for Apple in the Speech group FWIW Cheers, Daniel -- ** Daniel A. Steffen ** "And now to something completely ** Department of Mathematics ** different" Monty Python ** Macquarie University ** <mailto:st...@ma...> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> |