Ok, I dug out an old laptop which had a lot of interesting discussion on this from 2011. What I’m wondering is if triggers can now run pre-emptively (if they are compliant code-ways: no IP variables etc).
In 2011, David Dancy said that any regular 4D code whatsoever would force the method to run co-operatively. But then in 2016 there is a discussion that appears to imply that triggers can run preemptively IF they don’t run any non-complient code. By the way, I found the documentation I was looking for: http://doc.4d.com/4D-Language-Reference-16.3/Processes/Preemptive-4D-processes.300-3651705.en.html <http://doc.4d.com/4D-Language-Reference-16.3/Processes/Preemptive-4D-processes.300-3651705.en.html> That seems to endorse the idea that triggers can run preemptively if they are compliant. I wonder when that feature arrived ? Regards Peter > On 19 Jan 2018, at 04:10, Keisuke Miyako via 4D_Tech <[email protected] > <mailto:[email protected]>> wrote: > > you will see a P (for preemptive) or C (for cooperative) indicated for each > network request. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

