shithub: mc

Download patch

ref: 0f7fbc2dcbb934a3aa62aa4a69db432b4d20b7c1
parent: 4ac578a191635f9728dc66dd99b22cc54692b4ef
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Apr 22 15:40:58 EDT 2018

Improve comments.

--- a/lib/thread/spawn+openbsd.myr
+++ b/lib/thread/spawn+openbsd.myr
@@ -13,6 +13,10 @@
 
 var exitstk
 const __init__ = {
+	/* 
+	  We need a valid stack at all times, so we allocate one ahead of
+	  time to swap to before we invalidate a stack.
+	 */
 	exitstk = getstk(16)
 }