On Tue, 28 Jun 2011 20:09:18 +0200, Hans-Peter Diettrich <drdiettri...@aol.com> wrote:

When you have a look at TThreadList.LockList/UnlockList, then you'll see that LockList enters the critical section, and UnlockList leaves it. All code executed in between such two calls is absolutely ignorant of the state of the CS, there is no in/outside.

Of course, why should it bother? The call to "unlock" should ensures whatever
memory synchronisation is required.


Vinzent.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to