Thanks may be I should not have tried to make the Transcript threadsafe. And may be one of these days it would be great to get a cleaner model for morphic threading. stef
Hi, if you fork processes at a higher priority, they still throw the error in issue 1053. In core 10428 I more often get Instances of UndefinedObject are not indexable. It is trying to send size to a MultiNewParagraph while it is still nil. By the time the debugger opens, the object is there.
Test case attached, although I can't get it to catch the error. Use with ***caution***. In the one click image it often freezes the image.
http://n2.nabble.com/file/n3565757/NSThreadsafeTranscriptPriorityTest.st NSThreadsafeTranscriptPriorityTest.st
It seems like this may be the case Dale identified- "I assume that with a sufficiently complex test case, involving heavy background window updates while using some of the operations that call #displayWorldSafely a problem would be revealed, but there's no guarantee that a mutex would be the solution".
Cheers, ...Stan
Dale Henrichs wrote:
Ready for review:
http://code.google.com/p/pharo/issues/detail?id=1053
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- View this message in context: http://n2.nabble.com/Issue-1053-Transcript-updates-from-foreground-process-n... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project