#ifndef _QUEUE_H_
#define _QUEUE_H_

typedef mymsg_t *char;

#define BLOCK 1
#define NBLOCK 0

int myqueue_create(int queue_id);
int mythread_sendmsg(int queue_id, mymsg_t msg, int bytes);
int mythread_rcvmsg(int queue_id, mymsg_t *msg, int *bytes, char flag);

#endif
