cvs commit: src/include mqueue.h
davidxu at freebsd.org
Sat Nov 26 23:54:58 GMT 2005
Craig Rodrigues wrote:
>On Sat, Nov 26, 2005 at 12:55:36PM +0000, David Xu wrote:
>>davidxu 2005-11-26 12:55:36 UTC
>> FreeBSD src repository
>> Added files:
>> include mqueue.h
>> Bring in POSIX message queue header file.
>Is this header the same or different
>from the header in /usr/src/sys/posix4 ?
It is different, I don't know why it is existing there.
>Mike Barcroft stopped the posix4 version of this header
>from being installed in /usr/include during buildworld,
>because POSIX message queues were not fully implemented
>Do POSIX message queues now work in FreeBSD?
It should work, it is implemented as a file descriptor, so you can use
select(), or kqueue. Don't use mq_notify(), because fork() duplicates file
descriptor which is really a trouble for mq_notify(), I am still working
More information about the cvs-all