Re: Yielding the processor in a kext?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=3W3+h/pdimIsYlKl/6XxePQXSnNdz4thYUhRZIJadDk=; b=Um9hegqRhubBe4WdAyZmu25a36CckCfcml0QI2vyRAOH02LVyhR7fKGwm6tVbKmZ3iTmNesS2trBjSqU+JesaZRVhOOFfoQEUkSaW75cbGib4ImJHtKfUo8Se1l6abgumTsixZ5U3P2DZcN6aCLzqeDBqjablxK5Lk3AsgZVUUY= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kvcqHcIr5UYiZdGYfCEODpUF4pkahj8QIdf3yTVt4M1yg+KZ18kKidcC6CkBcKq/Ewkax5vM9Sa2LHjAetE7K/FAE8ECM8bsJjn5qU7Tdy8RNi5dx4bQvMCvjI741cZH4i1qh5CKi/fobqOLqeMIH00Nkg8VYq8aM5qpBdD+wfg= Linux Real-Time Kernel Preemption -> mutex On 9/7/07, Jonas Maebe <jonas.maebe@elis.ugent.be> wrote:
On 07 Sep 2007, at 19:22, Régis Duchesne wrote:
I have perfect control on Windows where Sleep(0) is documented to do exactly what I want. I have perfect control on Linux where cond_resched() is documented to do exactly what I want. I'm trying to have perfect control on Mac OS by finding an API that is documented to do exactly what I want :)
You could have a look at to which kernel api sched_yield() is connected.
Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/openspecies%40gmail.com
This email sent to openspecies@gmail.com
-- http://openspecies.googlepages.com/gpgkey.txt _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
mm w