From 7ed3b60075dfe28e059b2d26852b8ec02c68105d Mon Sep 17 00:00:00 2001 From: Arne Goedeke <el@laramies.com> Date: Thu, 16 Jan 2014 14:42:36 +0100 Subject: [PATCH] Thread.Farm: typo in call to cond->wait() --- lib/modules/Thread.pmod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/Thread.pmod b/lib/modules/Thread.pmod index 42547bae30..919c418c8c 100644 --- a/lib/modules/Thread.pmod +++ b/lib/modules/Thread.pmod @@ -607,7 +607,7 @@ optional class Farm threads += ({ Handler() }); free_threads += ({ threads[-1] }); } else { - ft_cond->wait(mutex); + ft_cond->wait(lock); } } object(Handler) t = free_threads[0]; -- GitLab