aboutsummaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-04-18 13:40:53 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-04-18 13:40:53 -0700
commit21055a1e5d34dda1b8151dd46a6bedca22bd73d9 (patch)
tree721044b20eb1c6f00d63a70f59a07f8b40e45ee1 /src/test.c
parent392c9aff947a41e7e0da0b1a9612e174cfa956a7 (diff)
feat: added prototype of io/buffered io
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test.c b/src/test.c
index e9743cb..3f8e608 100644
--- a/src/test.c
+++ b/src/test.c
@@ -34,6 +34,8 @@ filter(coro *c, uintptr data)
coro *seq;
struct PrimeMsg *msg;
+ // Need to copy relevant variables onto the local stack
+ // Data is volatile.
msg = (struct PrimeMsg*)data;
seq = msg->seq;
p = msg->p;