What is new in multithreading in Delphi XE?

前端 未结 6 1476
傲寒
傲寒 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:13

    [You can set thread name: TThread.NameThreadForDebugging.] (implemented in D2010 as David pointed out)

    You can create anonymous thread (a thread that executes anonymous function and doesn't need a TThread descendant object): TThread.CreateAnonymousThread.

    Delphi threading frameworks are discussed here:

    • Delphi - Threading Frameworks;
    • How Do I Choose Between the Various Ways to do Threading in Delphi?

提交回复
热议问题