Delphi IDE (239)
Windows with Delphi (38)
Visual Basic (3539)
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.