Home > Back-end >  DELPHI multithreading
DELPHI multithreading

Time:09-19

The action of broken thread even I want to do, I close a SOCKET connection in a thread results card there motionless,
SocketConnection1. Connected:=False;//is stuck, in the main thread is normal

CodePudding user response:

Thread synchronization with the Synchronize method to the main thread, don't directly in a multithreaded VCL control operation,
  • Related