What is new in multithreading in Delphi XE?

前端 未结 6 1462
傲寒
傲寒 2021-01-31 09:45

I have seen some time ago people discussing about the new multithreading in Delphi XE and about the fact that Delphi has some \'native\' problems because of the way it implement

6条回答
  •  时光说笑
    2021-01-31 10:17

    Also, in addition to what's already been mentioned:

    • there's TExternalThread wrapper for external threads (accessible via TThread.CurrentThread class property).
    • while debugging in the IDE, you can now freeze and thaw individual threads.
    • a lot of new stuff in SyncObjs unit: support for condition variables, TLightweightEvent, TLightweightSemaphore, TSpinLock, TSpinWait, TInterlocked and more...

提交回复
热议问题