Delphi - Is TClientDataset Thread Safe?

后端 未结 3 625
情歌与酒
情歌与酒 2021-01-02 05:00

I have a TClientDataset that is managed in Thread 1.

In a different thread I have a cloned Image of the TClientDataset.

Will I run into threading problems?

3条回答
  •  無奈伤痛
    2021-01-02 05:17

    The clone process should be handled with a TCriticalSection, but each TClientDataSet should be fine in its own thread.

提交回复
热议问题