posix message queues

Paolo Mantegazza mantegazza at aero.polimi.it
Thu Oct 28 14:02:51 CEST 2004


Dario wrote:
> Dear developers,
> 
> I looked the posix examples in the kilauea's showroom, specifically the 
> example ragarding message queues 
> 
> Unfortunately, I don't find where flags for opening queues are defined and the 
> which header should I include in my program (besides rtai_mq.h)
> 
> //Open a queue for reading
> rx_q = mq_open("my_queue1", O_RDONLY, my_mode, &my_attrs);
> 
> Could you give me any suggestion?
> 

Standard UNIX flags so they should be in fcntl.h. From where is more 
appropriate to get it depends on the space you are (kernel/user). Se 
pqueue.c in showroom.

Paolo.





More information about the Rtai mailing list