diff --git a/examples/threading/producer-consumer.scm b/examples/threading/producer-consumer.scm new file mode 100644 index 00000000..d5fce491 --- /dev/null +++ b/examples/threading/producer-consumer.scm @@ -0,0 +1,5 @@ +; TODO: +; try having multiple producers writing to a queue, and +; a consumer reading from it +; an important consideration is how to let the producers write values, since they would be on their stacks! +; ideally do not want the application to have to worry about what value came from what thread...