delphi - How to handle IOmniParallelJoin finalization in OmniThreadLibrary? -
i'm using iomniparalleljoin
compute several tasks in parallel nowait
function because want gui remain responsive. need know when computation finished. there event triggered in such case?
you can either utilize onstop
function inject code or utilize task configuration via taskconfig
, assign code via onterminated
. difference onstop
called within 1 of worker threads while onterminated
called within main thread.
delphi omnithreadlibrary
No comments:
Post a Comment