Searched refs:attempts (Results 1 – 7 of 7) sorted by relevance
78 int attempts = 0; in spawn_process() local83 attempts++; in spawn_process()84 } while (ret == BOOTSTRAP_UNKNOWN_SERVICE && attempts < kMaxAttempts); in spawn_process()
222 int attempts = 0; in mach_absolute_time()242 attempts++; in mach_absolute_time()248 …} while (attempts < MAX_TIMEBASE_TRIES && !OSCompareAndSwap64(old_absolute_time, new_absolute_time… in mach_absolute_time()250 if (attempts < MAX_TIMEBASE_TRIES && old_absolute_time > new_absolute_time) { in mach_absolute_time()
92 Jetsam attempts to maintain a sufficiently large pool of97 Conversely, vm_pressure attempts to maintain the amount of memory available to
77 …s active and clearing the queued wakeup. Once done with its consumption it attempts to wait on the
289 Any control flow that attempts to exit its scope of the loop needs to be
7 …s (eg. photos sync, source compilation). The traditional Mach scheduler attempts to achieve these …99 …riority decay calculation as they use CPU. The priority decay algorithm attempts to reward bursty …273 The Edge scheduler attempts to load balance cluster shared resource intensive threads across cluste…
458 // attempts to acquire a kernel rwlock for reading, and doesn't wait on a semaphore afterwards.509 * The 'grabbing' thread just attempts to lock the kernel mutex.