Re: kextload link/load error
Re: kextload link/load error
- Subject: Re: kextload link/load error
- From: Michael Smith <email@hidden>
- Date: Wed, 25 Jun 2008 21:31:39 -0700
On Jun 25, 2008, at 1:50 PM, Vanessa Li wrote: I am trying to use a spinlock in my kext and am having problems with loading it. I am calling the initialization functions and using lck_spin_lock() and lck_spin_unlock(). Here is the error message:
...
Well, apart from trying to use a spinlock?
There are very few situations in which a spinlock is the right too for the job in a kext. Without knowing what you're actually doing it's difficult to be more explicit, but chances are good (based on experience) that you're trying to use one for the wrong reasons.
What do you hope to achieve from using a spinlock that a regular mutex won't give you?
= Mike
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden