Thread-safe TranscriptStream?

jchludzinski at worldkey.net jchludzinski at worldkey.net
Tue Aug 15 22:18:55 UTC 2000


It appears that the necessary modifications to TranscriptStream to 
support thread-safe writes to Transcript have NOT been placed in 
the latest release!  This should OBVIOUSLY be done:

endEntry
	self semaphore critical:[
		self changed: #appendEntry.
		self reset.
	].

semaphore
	^AccessSema ifNil:[
		AccessSema _ Semaphore forMutualExclusion
	]

---John






More information about the Squeak-dev mailing list