In version 17 you can use plug-ins in preemptive mode if the plugin call is marked as thread safe. I converted my Postgres component/plugin to work in preemptive mode. Tests show 300% to 400% improvement over single core execution.
See this lengthy thread on the forum for issues in converting code to work in preemptive mode. https://forums.4d.com/Post/EN/27444918/2/27983967 John DeSoi, Ph.D. > On Jan 30, 2019, at 1:04 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > No, not at all. You have to first mark the method that's called first from > New Process as preemptive. That method, plus all methods called by that > method, and all methods called by those methods, must be written in a > preemptive-safe manner (i.e. no UI, no unsafe commands, no plug-ins). ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************