<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://xinu.cs.mu.edu/index.php?action=history&amp;feed=atom&amp;title=Mailbox</id>
	<title>Mailbox - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://xinu.cs.mu.edu/index.php?action=history&amp;feed=atom&amp;title=Mailbox"/>
	<link rel="alternate" type="text/html" href="https://xinu.cs.mu.edu/index.php?title=Mailbox&amp;action=history"/>
	<updated>2026-06-15T16:33:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://xinu.cs.mu.edu/index.php?title=Mailbox&amp;diff=2677&amp;oldid=prev</id>
		<title>Amallen at 22:25, 9 June 2008</title>
		<link rel="alternate" type="text/html" href="https://xinu.cs.mu.edu/index.php?title=Mailbox&amp;diff=2677&amp;oldid=prev"/>
		<updated>2008-06-09T22:25:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:25, 9 June 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A mailbox is a messaging queue used for interprocess communication.  Mailboxes should not to be confused with the single message capability built into the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;process &lt;/del&gt;control block which uses &amp;lt;code&amp;gt;send&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;receive&amp;lt;/code&amp;gt;.   &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A mailbox is a messaging queue used for interprocess communication.  Mailboxes should not to be confused with the single &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/ins&gt;message &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;passing]] &lt;/ins&gt;capability built into the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;thread &lt;/ins&gt;control block which uses &amp;lt;code&amp;gt;send&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;receive&amp;lt;/code&amp;gt;.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;XINU allows for a finite number of mailboxes to be created.  Each mailbox is identified by a number.  Any number of processes can send and receive messages from the mailbox, provided the processes know the correct mailbox number.   &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;XINU allows for a finite number of mailboxes to be created.  Each mailbox is identified by a number.  Any number of processes can send and receive messages from the mailbox, provided the processes know the correct mailbox number.   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When a new mailbox is created (allocated) a maximum number of messages allowed in the queue must be specified.  Memory for the messages is allocated when the mailbox is created.  Once the mailbox message queue is full, processes that attempt to send a message must wait for space in the queue.  If the queue is empty, processes that attempt to receive a message must wait for a message to be enqueued.  A message is 4 bytes long.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When a new mailbox is created (allocated) a maximum number of messages allowed in the queue must be specified.  Memory for the messages is allocated when the mailbox is created.  Once the mailbox message queue is full, processes that attempt to send a message must wait for space in the queue.  If the queue is empty, processes that attempt to receive a message must wait for a message to be enqueued.  A message is 4 bytes long &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(&amp;lt;code&amp;gt;int&amp;lt;/code&amp;gt; type)&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When a mailbox is deleted all remaining messages in the queue are destroyed.  Processes waiting to send or receive are released from the wait state.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When a mailbox is deleted all remaining messages in the queue are destroyed.  Processes waiting to send or receive are released from the wait state.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Amallen</name></author>
		
	</entry>
	<entry>
		<id>https://xinu.cs.mu.edu/index.php?title=Mailbox&amp;diff=2031&amp;oldid=prev</id>
		<title>Agember: Explanation of mailboxes</title>
		<link rel="alternate" type="text/html" href="https://xinu.cs.mu.edu/index.php?title=Mailbox&amp;diff=2031&amp;oldid=prev"/>
		<updated>2007-08-02T18:30:07Z</updated>

		<summary type="html">&lt;p&gt;Explanation of mailboxes&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A mailbox is a messaging queue used for interprocess communication.  Mailboxes should not to be confused with the single message capability built into the process control block which uses &amp;lt;code&amp;gt;send&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;receive&amp;lt;/code&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
XINU allows for a finite number of mailboxes to be created.  Each mailbox is identified by a number.  Any number of processes can send and receive messages from the mailbox, provided the processes know the correct mailbox number.  &lt;br /&gt;
&lt;br /&gt;
When a new mailbox is created (allocated) a maximum number of messages allowed in the queue must be specified.  Memory for the messages is allocated when the mailbox is created.  Once the mailbox message queue is full, processes that attempt to send a message must wait for space in the queue.  If the queue is empty, processes that attempt to receive a message must wait for a message to be enqueued.  A message is 4 bytes long.&lt;br /&gt;
&lt;br /&gt;
When a mailbox is deleted all remaining messages in the queue are destroyed.  Processes waiting to send or receive are released from the wait state.&lt;/div&gt;</summary>
		<author><name>Agember</name></author>
		
	</entry>
</feed>