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

Re: lck_mtx_assert


  • Subject: Re: lck_mtx_assert
  • From: Quinn <email@hidden>
  • Date: Thu, 23 Nov 2006 11:02:58 +0000

At 12:58 +0000 22/11/06, Nithin prakash wrote:
I am developing an NKE on MAC OS X 10.4.4 on a PowerG5 machine.
I want to use kenel locks in that NKE. I have included kern/locks.h file and linked that with com.apple.kpi.libkern. All locking functions except "lck_mtx_assert" is working fine.While loading NKE , it is showing "lck_mtx_assert" as undefined symbol.

lck_mtx_assert is only exported by the 'unsupported' KPI. Thus, you can't link to it from production code. If you need to link to it for debugging, add "com.apple.kpi.unsupported" to the OSBundleLibraries dictionary in the Info.plist for the debug build only. I show how to do this in the MFSLives sample.


<http://developer.apple.com/samplecode/MFSLives/index.html>

While writing MFSLives I asked kernel engineering why this routine wasn't supported, but I I never did get a straight answer. Do you need it in your production build? If so, why?

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


  • Follow-Ups:
    • Re(2): lck_mtx_assert
      • From: "Peter Lovell" <email@hidden>
References: 
 >lck_mtx_assert (From: Nithin prakash <email@hidden>)

  • Prev by Date: lck_mtx_assert
  • Next by Date: Re(2): lck_mtx_assert
  • Previous by thread: lck_mtx_assert
  • Next by thread: Re(2): lck_mtx_assert
  • Index(es):
    • Date
    • Thread