summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-04-28 21:11:23 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-04-28 21:11:23 -0400
commitdce66715fafb903c72f5e23cfc43268ab593e63b (patch)
tree4bac095a6a1b0cc94d9c13b95885cd2d54487976
parent47fec2398a192c23424825d7ec7aacc92b6f015d (diff)
scripting: channel: Export channel-clear!
-rw-r--r--chickadee/scripting/channel.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chickadee/scripting/channel.scm b/chickadee/scripting/channel.scm
index 6df1313..b54d3e2 100644
--- a/chickadee/scripting/channel.scm
+++ b/chickadee/scripting/channel.scm
@@ -26,7 +26,8 @@
channel-get!
channel-get
channel-put!
- channel-put))
+ channel-put
+ channel-clear!))
;; A very simplified notion of channels compared to guile-fibers. In
;; our case, everything is cooperative and on the same thread, so we