• 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
inTaskWithOptions failing if capacity less than alignment on Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

inTaskWithOptions failing if capacity less than alignment on Leopard


  • Subject: inTaskWithOptions failing if capacity less than alignment on Leopard
  • From: "Lalit Chandivade" <email@hidden>
  • Date: Wed, 7 Nov 2007 06:37:09 -0800
  • Thread-topic: inTaskWithOptions failing if capacity less than alignment on Leopard

Having a strange issue on Leopard with inTaskWithOptions function.
I have a driver which works on Tiger where a memory buffer gets allocated successfully when the capacity is 128 bytes and alignment is 4096.
However same driver code is not working on Leopard, the call to inTaskWithOptions fails.
 
Any idea why this could be happening?
Is it a requirement on Leopard to specify capacity bigger than the alignment in the call to inTaskWithOptions?
 
Thanks,
Lalit.
 _______________________________________________
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

  • Prev by Date: Binary driver licensing
  • Next by Date: Finder & FS plug-in bug (creation, ranaming folders)
  • Previous by thread: Binary driver licensing
  • Next by thread: Finder & FS plug-in bug (creation, ranaming folders)
  • Index(es):
    • Date
    • Thread