about summary refs log tree commit diff stats
path: root/new.arc.t
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2014-08-19 12:16:47 -0700
committerKartik K. Agaram <vc@akkartik.com>2014-08-19 12:16:47 -0700
commit6b133a720e379c5a891faf5e969361be85bdfcd5 (patch)
treee9ffd2fb9625bd6f35861645e7912394e7f6ae45 /new.arc.t
parent624b9e86a110b492d2cb2c8bcf8cb3a60200c056 (diff)
downloadmu-6b133a720e379c5a891faf5e969361be85bdfcd5.tar.gz
55
Diffstat (limited to 'new.arc.t')
-rw-r--r--new.arc.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/new.arc.t b/new.arc.t
index c10444de..5266ea2d 100644
--- a/new.arc.t
+++ b/new.arc.t
@@ -19,3 +19,8 @@
   (prn "F - 'new' increments allocator pointer"))
 (if (~iso memory*.Allocator_start 34)
   (prn "F - 'new' returns old location"))
+
+; other tests to express:
+;  no other function can increment the pointer
+;  no later clause can increment the pointer after this base clause
+;  multiple threads/routines can't call the allocator at once