Re: usleep()

2008-03-15 Thread Michael Watson
Yes. Code in a method executes on a thread in order from top to bottom (taking into account flow control from while/do/etc). The usleep() function pauses the thread until the specified duration of time passes, at which point the next line of code is executed. And remember that the thread

usleep()

2008-03-15 Thread Cocoa
these code is from ScriptBridgeConcept.pdf. Does anyone know what the red code below mean, specifically rampVolume += orignalVolume/16) i search usleep() in Xcode documentation, it explain that suspend thread execution for an interval measured in microseconds. Does it just mean it will