Re: grand central dispatch and notification port sources
Re: grand central dispatch and notification port sources
- Subject: Re: grand central dispatch and notification port sources
- From: Joel Reymont <email@hidden>
- Date: Wed, 10 Mar 2010 23:45:26 +0000
On Mar 10, 2010, at 11:13 PM, Damien Sorresso wrote:
> Dequeuing the message from the port is left as an exercise for the reader.
I did my homework, e.g.
---
#include <mach/mach.h>
mach_msg_header_t hdr;
mach_msg_receive(&hdr)
---
would be super-nice, except the signature of mach_msg_receive above does not include a port :-(.
I assume by dequeuing you mean that the message is already received so there's no need to receive it again. How in the world do you dequeue it into a message header, though?!
Thanks in advance, Joel
---
http://es.linkedin.com/in/joelreymont
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden