• 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: Kernel Locks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kernel Locks


  • Subject: Re: Kernel Locks
  • From: Quinn <email@hidden>
  • Date: Wed, 15 Nov 2006 15:50:47 +0000

At 5:24 +0000 15/11/06, Nithin prakash wrote:
I m using MAC OS X 10.4 on PowerG5 machine.I wanted to use kernel locks in one of my NKE.I have found the KPis in kern/locks.h file.But when i used it, it is showing undefined symbols while loading.I would like to know what is the library i have to link with it inorder to make it work.
These are the undefined symbols i got.
lck_attr_alloc_init
lck_attr_free
lck_attr_setdefault
lck_mtx_lock
lck_mtx_unlock

These functions are exported by the libkern KPI. You need to add an "com.apple.kpi.libkern" entry to your "OSBundleLibraries" dictionary in your "Info.plist". See the following page for more information about this. Specifically, look at the "KPIs and KEXT Dependencies in Mac OS X v10.4 and Later" section.


<http://developer.apple.com/documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptDependencies/kext_dependencies.html>

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Kernel Locks (From: Nithin prakash <email@hidden>)

  • Prev by Date: Re: Local webdav server freezes system
  • Next by Date: Re: SIGTRAP after writing to socket
  • Previous by thread: Kernel Locks
  • Next by thread: Local webdav server freezes system
  • Index(es):
    • Date
    • Thread