Is CommLib thread safe?
Although libraries can be built for multiple threads, objects such as mutexes, semaphores, and other event objects are not used internally to prevent different threads from interfering with port data and serial port operations. The programmer is required to provide any thread-safe mechanisms within the application for Win32 and 32-bit DOS extenders for which multiple threads are supported when using CommLib.