bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: notify_no_senders oddity


From: Richard Braun
Subject: Re: notify_no_senders oddity
Date: Sun, 31 Dec 2006 17:11:55 +0100
User-agent: Mutt/1.5.9i

On Sun, Dec 31, 2006 at 12:30:24PM +0100, Samuel Thibault wrote:
> There's something I don't understand in
> i386/i386at/i386at_ds_routines.c:ds_notify()
> 
>       dev = (device_t) ns->not_header.msgh_remote_port;
> 
> How a port can be a device_t?

In include/mach/message.h:

typedef struct {
  ...
  mach_port_t msgh_remote_port;
  ...
} mach_msg_header_t;

and in include/device/device_types.h

typedef mach_port_t device_t;

I'm not totally sure of what you call a `port' in your question.

-- 
Richard Braun

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]