<br><br><div><span class="gmail_quote">2007/5/1, Jim Menard <<a href="mailto:jim.menard@gmail.com">jim.menard@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>(Actually, that's a question I have about Erlang's design: it seems to<br>me that inboxes are the only place in Erlang's internals that has to<br>worry about mutex locking, because incoming messages have to be added
<br>to the inbox safely. Am I correct?)</blockquote><div><br><br>No, actually, there are lots of places where mutexes are needed.<br>For example, it is possible to call process_info(Pid), and extract<br>meta data on a process. The information includes the contents of
<br>the process dictionary, the reduction counter (used by the scheduler),<br>the heap size, message queue, etc. Of course, all of these items <br>need to be protected by mutexes, then.<br><br>BR,<br>Ulf W<br></div><br></div>