Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2005 07:55:20 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Craig Rodrigues <rodrigc@crodrigues.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/include mqueue.h
Message-ID:  <4388F5E8.7090208@freebsd.org>
In-Reply-To: <20051126233808.GA3251@crodrigues.org>
References:  <200511261255.jAQCtaSl073864@repoman.freebsd.org> <20051126233808.GA3251@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4388F5E8.7090208>