/[rtmk]/rtmk/ipc-port.h
ViewVC logotype

Diff of /rtmk/ipc-port.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by jrydberg, Fri Dec 7 22:08:23 2001 UTC revision 1.2 by jrydberg, Mon Dec 10 20:51:04 2001 UTC
# Line 18  Foundation, Inc., 59 Temple Place - Suit Line 18  Foundation, Inc., 59 Temple Place - Suit
18  #ifndef __ipc_port_h  #ifndef __ipc_port_h
19  #define __ipc_port_h 1  #define __ipc_port_h 1
20    
21    #include <rtmk/kern-return.h>
22  #include <rtmk/ipc-types.h>  #include <rtmk/ipc-types.h>
23  #include <rtmk/ipc-port.h>  #include <rtmk/ipc-port.h>
24    
# Line 81  struct ipc_port Line 82  struct ipc_port
82    struct ipc_mqueue *mqueue;    struct ipc_mqueue *mqueue;
83        
84    /* Queue of threads that are waiting for an arriving message.  */    /* Queue of threads that are waiting for an arriving message.  */
85    struct ipc_tqueue tqw;    struct ipc_tqueue waiting_threads;
86    
87    /* Queue of threads that are blocked because of the length    /* Queue of threads that are blocked because of the length
88       of the message queue (the qlimit is reached).  */       of the message queue (the qlimit is reached).  */
89    struct ipc_tqueue tqb;    struct ipc_tqueue blocked_threads;
90        
91    /* Kernel object that this port represents.  */    /* Kernel object that this port represents.  */
92    struct ipc_kobject kobject;    struct ipc_kobject kobject;
# Line 117  struct ipc_port Line 118  struct ipc_port
118  #define IPC_PORT_VALID(IP) \  #define IPC_PORT_VALID(IP) \
119          ((IP) != IPC_PORT_NULL && (IP) != IPC_PORT_DEAD && (IP->active_p))          ((IP) != IPC_PORT_NULL && (IP) != IPC_PORT_DEAD && (IP->active_p))
120    
121    
122    /* Initialize ports.  */
123    
124    extern void ipc_port_init (void);
125    
126    /* Create a new IPC port.  The port is return in PORTP.  
127       Returns standard kernel return code.  */
128    
129    extern kern_return_t ipc_port_create (struct ipc_port **portp);
130    
131  #endif /* ipc-port.h */  #endif /* ipc-port.h */
132    
133    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26