Processor friendly waiting

User avatar
Mr. Kibernetik
Site Admin
Posts: 4782
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Processor friendly waiting

Post by Mr. Kibernetik »

ericmengyi wrote:What is the difference between Slowdown Command and Pause Command? I mean, could I use "pause 0.05" in the loops to get the same effect?
No. PAUSE command does not pause the thread.

Walter
Posts: 20
Joined: Mon Oct 06, 2014 1:44 pm
My devices: iPad 3, iPod Touch 5

Re: Processor friendly waiting

Post by Walter »

Both will slow down your program, but only Slowdown will allow the device's processor to slow down.

ericmengyi
Posts: 42
Joined: Thu Mar 12, 2015 7:22 am
My devices: iphone 5s, /ipad Air

Re: Processor friendly waiting

Post by ericmengyi »

I see. Thanks!

Post Reply