I’m just guessing, but if you think about how that line of code would look in 
assembly wouldn’t it be a few different instructions? Moving a value into a 
memory, incrementing it, and moving it back? If so, that give the opportunity 
for it to be time sliced by the OS.

--
Cannon Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236
<can...@synergyfarmsolutions.com>
<www.synergyfarmsolutions.com>


> On Nov 1, 2016, at 5:52 PM, Tim Nevels <timnev...@mac.com> wrote:
> 
> But what about this:
> 
> <>counter_l := <>counter_l + 1
> 
> It does not contain any 4D commands. Can that line of code be time sliced, or 
> will this line of code run atomically?

**********************************************************************
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:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to