last minute tweaks
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
f7622a24c9
commit
9a60bf572d
BIN
img/background.png
Normal file
BIN
img/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 425 KiB |
40
index.html
40
index.html
@ -141,6 +141,46 @@
|
||||
</ul>
|
||||
</ul>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Messages are Everything</h2>
|
||||
<ul>
|
||||
<li>Messages form IPC</li>
|
||||
<li>Scalars or Pages</li>
|
||||
<li>Blocking or Nonblocking</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section>
|
||||
<h2>Example: Sleeping</h2>
|
||||
|
||||
<code>sleep(msec: usize)</code>
|
||||
<ol>
|
||||
<li>Connect to "ticktimer" server</li>
|
||||
<li>Send a `BlockingScalar` with desired duration</li>
|
||||
<li>Client will block until server replies</li>
|
||||
<li>Server calls `ReturnScalar()` after expiration</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>Example: Mutex</h2>
|
||||
<code>mutex.lock().unwrap()</code>
|
||||
<ol>
|
||||
<li>Fast path with <code>AtomicIsize</code></li>
|
||||
<li>Slow path by sending <code>LockMutex</code></li>
|
||||
<li>On unlock, contending thread will see poison and send <code>UnlockMutex</code></li>
|
||||
<li>Server will reply to <code>LockMutex</code> message to unblock the thread</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2>MMUs are Amazing</h2>
|
||||
<ul>
|
||||
<li>XIP flash for free!</li>
|
||||
<li>Swap space</li>
|
||||
<li>Encrypted swap? No problem!</li>
|
||||
<li>Realtime patching broken hardware</li>
|
||||
</ul>
|
||||
</section>
|
||||
<section>
|
||||
<h2>How can I use it?</h2>
|
||||
<div class="r-hstack">
|
||||
|
Loading…
Reference in New Issue
Block a user