• 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: IODataQueueDequeue problem in user mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IODataQueueDequeue problem in user mode


  • Subject: Re: IODataQueueDequeue problem in user mode
  • From: Slava Imameyev <email@hidden>
  • Date: Mon, 7 Feb 2011 15:31:49 +1100

IODataQueue is a "single reader - single writer" queue, use a lock( which allows rescheduling while being held ) in the kernel as I presume you are calling enqueue() from different thread contexts



On Tue, Feb 1, 2011 at 8:55 PM, sheetal phirke <email@hidden> wrote:
Hi,

I am sending  structure from kernel to user by using IODataQueue. It contains file name & some other information. Sometime in user mode it will dequeue data faster than enqueue or it will go to loop. I have also gone through documents & examples but din't  get anything...

If anyone experience the same then please explain me where I will be wrong?

Thanks ,
Sheetal.


 _______________________________________________
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

 _______________________________________________
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: 
 >IODataQueueDequeue problem in user mode (From: sheetal phirke <email@hidden>)

  • Prev by Date: Re: Build SharedIP open source project on MAC OS X
  • Next by Date: How to intercept packets during handshake using Socket Filters in NKE?
  • Previous by thread: IODataQueueDequeue problem in user mode
  • Next by thread: Build SharedIP open source project on MAC OS X
  • Index(es):
    • Date
    • Thread