This article starts new series that is dedicated to some useful VCL classes. Now let’ look at TCollection class. TCollection is a container for TCollectionItem objects. The VCL controls (such as TDBGrid, TListView, TStatusBar, etc) widely use objects derived from TCollection.
TThreadComponent – a native VCL component that allows quick and easy threading.
“Mutex” is an abbreviation of “Mutual Execution”. The CreateMutex function creates named or unnamed mutex object.
Events are very important synchronization objects. Using mutexs, events, critical sections together allow us to create complex synchronization objects.
One of common usage of threads is a client request processing.Server application should create one or more threads per client in order to process their requests concurrently without blocking. This article is dedicated to common way of creating threads that process messages (or “client requests”) sequentially.