Anonymous | Login | 03-02-2021 22:53 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0005795 | [Squeak] Collections | minor | always | 01-20-07 14:39 | 01-20-07 14:45 | |||||||
Reporter | R4p70r | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | 3.9 | |||||||||
Summary | 0005795: TranscriptStream is not completely thread safe | |||||||||||
Description |
TranscriptStream is expected to be thread safe and there's a semaphore critical section in #endEntry to ensure this. But before #endEntry gets to display the stream content, the #show: method first has to put something on the TranscriptStream and that's _not_ thread safe. |
|||||||||||
Additional Information |
A simple test. The 'b' rarely appears when you evaluate this: Transcript clear. [Transcript show: (String new: 1000 withAll: $a)] fork. [Transcript show: $b] fork. Fix 2 places the critical section in #show instead of #endEntry |
|||||||||||
Attached Files |
![]() ![]() |
|||||||||||
|
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
41 total queries executed. 26 unique queries executed. |