An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
The timer is thread safe, as you are only using one thread. But a timer interrupts the current thread. So if you use a thread timer, it could fire during a current call. If you use a timer control and windows control events, the events are triggered by the window loop and do not overlap.