help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Re: [bug] deadlock if there are errors while the Transc


From: Paolo Bonzini
Subject: [Help-smalltalk] Re: [bug] deadlock if there are errors while the Transcript is active
Date: Thu, 05 Mar 2009 02:53:08 -0700

Issue status update for http://smalltalk.gnu.org/project/issue/283 Post a follow up: http://smalltalk.gnu.org/project/comments/add/283

Project:      GNU Smalltalk
Version:      <none>
Component:    Base classes
Category:     bug reports
Priority:     normal
Assigned to:  Unassigned
Reported by:  bonzinip
Updated by:   bonzinip
Status:       active

Indeed, this fixes it.

diff --git a/kernel/Transcript.st b/kernel/Transcript.st
index 0d404f6..b0981b9 100644
--- a/kernel/Transcript.st
+++ b/kernel/Transcript.st
@@ -193,7 +193,7 @@ "Private - Initialize the receiver's instance variables"

       <category: 'private'>
-       semaphore := Semaphore forMutualExclusion
+       semaphore := RecursionLock new
    ]
]






reply via email to

[Prev in Thread] Current Thread [Next in Thread]