diff --git a/img/background.png b/img/background.png new file mode 100644 index 0000000..0948412 Binary files /dev/null and b/img/background.png differ diff --git a/index.html b/index.html index c27f223..b90ff5f 100644 --- a/index.html +++ b/index.html @@ -141,6 +141,46 @@ +
+

Messages are Everything

+ +
+
+

Example: Sleeping

+ + sleep(msec: usize) +
    +
  1. Connect to "ticktimer" server
  2. +
  3. Send a `BlockingScalar` with desired duration
  4. +
  5. Client will block until server replies
  6. +
  7. Server calls `ReturnScalar()` after expiration
  8. +
+
+ +
+

Example: Mutex

+ mutex.lock().unwrap() +
    +
  1. Fast path with AtomicIsize
  2. +
  3. Slow path by sending LockMutex
  4. +
  5. On unlock, contending thread will see poison and send UnlockMutex
  6. +
  7. Server will reply to LockMutex message to unblock the thread
  8. +
+
+ +
+

MMUs are Amazing

+ +

How can I use it?