[phobos] phobos commit, revision 1662

Sean Kelly sean at invisibleduck.org
Fri Jun 18 21:25:24 PDT 2010


On Jun 18, 2010, at 9:15 PM, Masahiro Nakagawa wrote:

> On Fri, 18 Jun 2010 16:20:59 +0900, dsource.org <noreply at dsource.org> wrote:
> 
>> phobos commit, revision 1662
>> 
>> 
>> user: sean
>> 
>> msg:
>> Implemented setMaxMailboxSize().  Also added docs for some functions.  The receive() method is still more complicated than I'd like, mostly because of the special handling of the OwnerTerminated message.
>> 
>> http://www.dsource.org/projects/phobos/changeset/1662
>> 
> 
> size_t mboxFull()
> {
>     return m_maxMsgs &&
>            m_maxMsgs <= m_localMsgs + m_sharedBox.length;
> }
> 
> Why size_t? Return type seems to be bool.

Oops!


More information about the phobos mailing list