Delphi IDE (89)
Windows with Delphi (280)
Visual Basic (1)
How to make a data structure thread-safe
This article has not been rated yet. After reading, feel free to leave comments and rate it.
You need to create a global TCriticalSection and lock / unlock it when you access shared resources with code as shown below.