What to avoid for performance reasons in multithreaded code?

后端 未结 12 2433
执笔经年
执笔经年 2021-02-09 10:45

I\'m currently reviewing/refactoring a multithreaded application which is supposed to be multithreaded in order to be able to use all the available cores and theoretically deliv

12条回答
  •  太阳男子
    2021-02-09 11:21

    I'm using Delphi 7

    You might be using COM objects, then, explicitly or implicitly; if you are, COM objects have their own complications and restrictions on threading: Processes, Threads, and Apartments.

提交回复
热议问题