zipper: coroutine links
authorJim Pryor <profjim@jimpryor.net>
Sun, 28 Nov 2010 11:20:09 +0000 (06:20 -0500)
committerJim Pryor <profjim@jimpryor.net>
Sun, 28 Nov 2010 11:20:09 +0000 (06:20 -0500)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
zipper.mdwn

index ca8bf31..9c01a56 100644 (file)
@@ -424,14 +424,14 @@ With cooperative threads, one typically yields control to the thread, and then b
 
 If you want to read more about these kinds of threads, here are some links:
 
-*      [[!wikipedia Computer_multitasking]]
-*      [[!wikipedia Thread_(computer_science)]]
+<!-- * [[!wikipedia Computer_multitasking]]
+*      [[!wikipedia Thread_(computer_science)]] -->
 *      [[!wikipedia Coroutine]]
 *      [[!wikipedia Iterator]]
 *      [[!wikipedia Generator_(computer_science)]]
 *      [[!wikipedia Fiber_(computer_science)]]
-*      [[!wikipedia Green_threads]]
-*      [[!wikipedia Protothreads]]
+<!-- * [[!wikipedia Green_threads]]
+*      [[!wikipedia Protothreads]] -->
 
 The way we built cooperative threads here crucially relied on two heavyweight tools. First, it relied on our having a data structure (the tree zipper) capable of being a static snapshot of where we left off in the tree whose fringe we're enumerating. Second, it relied on our using mutable reference cells so that we could update what the current snapshot (that is, tree zipper) was, so that the next invocation of the `next_leaf` function could start up again where the previous invocation left off.