• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: kextload link/load error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:
...
Any ideas what's wrong?

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

References: 
 >kextload link/load error (From: "Vanessa Li" <email@hidden>)

  • Prev by Date: Re: Getting a read call before open
  • Next by Date: Re: Getting a read call before open
  • Previous by thread: Re: kextload link/load error
  • Next by thread: Load result 0xdc000001
  • Index(es):
    • Date
    • Thread