summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2018-05-14 15:26:35 -0700
committerVito Caputo <vcaputo@pengaru.com>2018-05-14 15:27:26 -0700
commit4e1222ce8b39f1ad1992aeba7a46c20ac58f8b70 (patch)
tree0da9db6cd83e4bc08cd52317209dbf1739914ca0 /src
parent6255afb4b624485b6dbf65dc59300f7af3aa285f (diff)
example: pass NULL mailbox to pulp_msleep()
Forgot to update the example when adding the mailbox feature. Thanks Phil!
Diffstat (limited to 'src')
-rw-r--r--src/example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example.c b/src/example.c
index f8d4ba8..ad396d4 100644
--- a/src/example.c
+++ b/src/example.c
@@ -32,7 +32,7 @@ THUNK_DEFINE(foo, pulp_t *, p, int, w, int, h)
for (int x = 0; x < w; x++)
(void) pulp_fiber_new(p, (w - x), THUNK(bar(x)));
- pulp_msleep(p, w + 1);
+ pulp_msleep(p, w + 1, NULL);
}
return 0;
© All Rights Reserved