<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 06/14/2011 12:02 PM, Mattias Gaertner wrote:<br>
<blockquote cite="mid:20110614120217.353fd7af@limapholos"
type="cite">
<pre wrap="">Why do you think so?
</pre>
</blockquote>
Sorry I have been typing much faster than thinking here (again). I
had meant to be talking about TTlist. <span class="moz-smiley-s6"><span>
:-[ </span></span><span class="moz-smiley-s6"><span> :-[ </span></span><span
class="moz-smiley-s6"><span> :-[ </span></span><br>
<br>
So once again: <br>
<br>
<hr size="2" width="100%"><br>
(Supposedly) TList.Add is "separate-instance-thread safe" (each
thread can create an instance and use the "Add" procedure without
risking a conflict).
<br>
<br>
TList.Add is not "cross-instance-thread safe" (multiple threads
using the same instance's "Add" procedure will result in erroneous
behavior).
<br>
<br>
Simply stating that TList.Add is "not thread save" (which of course
is perfectly correct) would prevent using a TList instance as a data
store e.g. in a thread class that itself is instantiated multiple
times. There using TThreadList would be overkill.
<br>
<br>
-Michael<br>
</body>
</html>