Are POSIX mqueues supposed to be functional on FreeBSD?
roam at ringlet.net
Sun Jun 20 22:15:39 UTC 2010
On Sun, Jun 20, 2010 at 03:02:35PM -0700, Garrett Cooper wrote:
> Err... I ran an mqueue test and it popped up with ENOSYS. Which
> makes me wonder, are POSIX mqueues implemented 100% on FreeBSD? I
> looked into sys/kern/uip_mqueue.c and it _appears_ functional, but I
> could be misreading the code. Another test written which tests mqueue
> appears to be broken as well (I'll include that in a later email if
> interested). I also attached the truss output and the relative code
> blurb for a little more analysis.
> PS I'm not guaranteeing that the code below doesn't have bugs in it as
> I'm not the original author and the tests were originally written and
> targeted towards Linux.
Do you have the P1003_1B_MQUEUE option in your kernel config?
Peter Pentchev roam at space.bg roam at ringlet.net roam at FreeBSD.org
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
This sentence is false.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20100620/45a86b7b/attachment.pgp
More information about the freebsd-hackers