[phobos] phobos commit, revision 1662

Masahiro Nakagawa repeatedly at gmail.com
Fri Jun 18 21:15:32 PDT 2010


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.


Masahiro


More information about the phobos mailing list