From 632e3d30677aae5d40193e4016495525b3b09b3b Mon Sep 17 00:00:00 2001
From: Alessandro Ranellucci <aar@cpan.org>
Date: Wed, 17 Dec 2014 14:53:36 +0100
Subject: [PATCH] Added an explicit warning when user has old threads.pm
 version. #2348

---
 lib/Slic3r.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm
index 48cd733f9..9a003521b 100644
--- a/lib/Slic3r.pm
+++ b/lib/Slic3r.pm
@@ -19,6 +19,7 @@ our $have_threads;
 BEGIN {
     use Config;
     $have_threads = $Config{useithreads} && eval "use threads; use threads::shared; use Thread::Queue; 1";
+    warn "threads.pm >= 1.96 is required, please update\n" if $have_threads && $threads::VERSION < 1.96;
     
     ### temporarily disable threads if using the broken Moo version
     use Moo;