深圳全飞鸿

标题: MyDac多线程开发的探讨 [打印本页]

作者: e54f    时间: 2019-7-11 17:15
标题: MyDac多线程开发的探讨
首先,来至官方的定义:MyDac是支持多线程的
Are the MyDAC connection components thread-safe?

Yes, MyDAC is thread-safe but there is a restriction. The same TMyConnection object cannot be used in several threads simultaneously. So if you have a multithreaded application, you should have a TMyConnection object for each thread that uses MyDAC.


https://www.devart.com/mydac/faq.html






欢迎光临 深圳全飞鸿 (http://www.nagomes.com/disc/) Powered by Discuz! X3.2