From 4e1222ce8b39f1ad1992aeba7a46c20ac58f8b70 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 14 May 2018 15:26:35 -0700 Subject: example: pass NULL mailbox to pulp_msleep() Forgot to update the example when adding the mailbox feature. Thanks Phil! --- src/example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3