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
Log:
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
in FreeBSD:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=10929+0+archive/2002/freebsd-standards/20021006.freebsd-standards
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
on it.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"