Lisp HUG Maillist Archive

(Lisp-HUG) Atomnicity of MailBoxes??

Greetings to the Lisp List....

Question:  Are mp Mail Boxes atomic objects in the multiprocessing world??

I.e., Do I need to "Lock" mail boxes before sending and receiving 
message traffic?

I can find nothing definitive about this in the doco.


Regards,

Jack Harper
Secure Outcomes Inc.


Re: (Lisp-HUG) Atomnicity of MailBoxes??

Unable to parse email body. Email id is 10001

Re: (Lisp-HUG) Atomnicity of MailBoxes??

At 03:43 AM 3/5/2010, Martin wrote:

> >

 >> after Jack Harper said,

> > >
> > > Greetings to the Lisp List....
> > >
> > > Question:  Are mp Mail Boxes atomic objects in the 
> multiprocessing world??
> > >
> > > I.e., Do I need to "Lock" mail boxes before sending and receiving
> > > message traffic?
> > >
> > > I can find nothing definitive about this in the doco.



 >>>>> On Thu, 4 Mar 2010 12:29:09 -0500, Paul Tarvydas said:
> >
> > I take the fact that mailboxes are listed in section 15.9, Synchronization
> > Between Threads, to mean that mailboxes are essentially atomic.  I use them
> > that way (w/o locks) and have encountered no problems.




>Yes, that's right.
>
>--
>Martin Simmons
>LispWorks Ltd
>http://www.lispworks.com/

Thank You Martin for the definitive info -

I appreciate it.

Regards to the List -

Jack Harper
Secure Outcomes Inc
Evergreen, Colorado USA



Updated at: 2020-12-10 08:39 UTC