Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/RTL/Delphi/Thread support    [ Add a report in this area ]  
Report #:  90429   Status: Closed
For In Loops in multiple threads are serialized
Project:  Delphi Build #:  26342
Version:    14.2 Submitted By:   Louis Kleiman
Report Type:  Minor failure / Design problem Date Reported:  12/20/2010 10:35:49 AM
Severity:    Serious / Highly visible problem Last Updated: 12/27/2010 5:11:26 PM
Platform:    All platforms Internal Tracking #:  
Resolution: Test Case Error (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
If one iterates through a TList<...> in multiple threads using a For In structure, the iterating is serialized.  Converting the For In to a For I := 0 to ... allows proper concurrent iteration.
Steps to Reproduce:
None
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 12/20/2010 5:41:09 PM -
Could you please tell us more detail about your issue?
Is it a request for enhancement?

And, please attach sample project to understand your issue.

Louis Kleiman at 12/27/2010 6:35:26 AM -
Withdrawn.  Appears to be related to something else that I am unable to recreate in a small test application.  Sorry for the trouble.

Tomohiro Takahashi at 12/27/2010 5:11:20 PM -
Ok, I closed this report as Sysop.
Thanks.

Server Response from: ETNACODE01