Thread overview | |||||
---|---|---|---|---|---|
|
June 18, 2010 [phobos] phobos commit, revision 1662 | ||||
---|---|---|---|---|
| ||||
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 [phobos] phobos commit, revision 1662 | ||||
---|---|---|---|---|
| ||||
Posted in reply to dsource.org | 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 [phobos] phobos commit, revision 1662 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Masahiro Nakagawa | 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!
|
Copyright © 1999-2021 by the D Language Foundation