summaryrefslogtreecommitdiff
path: root/src/thread/synccall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/synccall.c')
-rw-r--r--src/thread/synccall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread/synccall.c b/src/thread/synccall.c
index 706c8e73..c54570be 100644
--- a/src/thread/synccall.c
+++ b/src/thread/synccall.c
@@ -58,6 +58,7 @@ void __synccall(void (*func)(void *), void *ctx)
sem_init(&chaindone, 0, 0);
sem_init(&chainlock, 0, 1);
chainlen = 0;
+ head = 0;
callback = func;
context = ctx;