Project

General

Profile

Statistics
| Revision:

root / lab4 / .minix-src / include / ddekit / minix / msg_queue.h @ 13

History | View | Annotate | Download (514 Bytes)

1
#ifndef DDEKIT_SRC_MSG_QUEUE_H
2
#define DDEKIT_SRC_MSG_QUEUE_H
3

    
4
#include <ddekit/ddekit.h>
5
#include <ddekit/thread.h> 
6
#include <minix/ipc.h>
7

    
8
struct ddekit_minix_msg_q; 
9

    
10
void ddekit_minix_queue_msg(message *m, int ipc_status);
11

    
12
void ddekit_minix_rcv 
13
            (struct ddekit_minix_msg_q * mq, message *m, int *ipc_status);
14

    
15
struct ddekit_minix_msg_q *ddekit_minix_create_msg_q(unsigned from,
16
        unsigned to);
17

    
18
void ddekit_minix_destroy_msg_q(struct ddekit_minix_msg_q *mq);
19

    
20

    
21
#endif /* DDEKIT_SRC_MSG_QUEUE_H */