Thread overview
[phobos] phobos commit, revision 1662
Jun 18, 2010
dsource.org
Jun 19, 2010
Masahiro Nakagawa
Jun 19, 2010
Sean Kelly
June 18, 2010
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

June 19, 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
June 18, 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!