Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:michals
slic3r
threads.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File threads.patch of Package slic3r
diff -ur Slic3r/lib/Slic3r/GUI/Plater.pm Slic3r-master/lib/Slic3r/GUI/Plater.pm --- Slic3r/lib/Slic3r/GUI/Plater.pm 2017-08-24 23:41:30.435876258 +0200 +++ Slic3r-master/lib/Slic3r/GUI/Plater.pm 2017-08-24 23:50:58.951927818 +0200 @@ -9,7 +9,7 @@ use List::Util qw(sum first max none any); use Slic3r::Geometry qw(X Y Z MIN MAX scale unscale deg2rad rad2deg); use LWP::UserAgent; -use threads::shared qw(shared_clone); +use threads; use threads::shared qw(shared_clone); use Wx qw(:button :cursor :dialog :filedialog :keycode :icon :font :id :misc :panel :sizer :toolbar :window wxTheApp :notebook :combobox); use Wx::Event qw(EVT_BUTTON EVT_COMMAND EVT_KEY_DOWN EVT_MOUSE_EVENTS EVT_PAINT EVT_TOOL diff -ur Slic3r/lib/Slic3r/GUI.pm Slic3r-master/lib/Slic3r/GUI.pm --- Slic3r/lib/Slic3r/GUI.pm 2017-08-24 23:41:30.431876201 +0200 +++ Slic3r-master/lib/Slic3r/GUI.pm 2017-08-24 23:51:40.660514451 +0200 @@ -17,6 +17,7 @@ }; } +use threads; use File::Basename qw(basename); use FindBin; use List::Util qw(first any); diff -ur Slic3r/lib/Slic3r.pm Slic3r-master/lib/Slic3r.pm --- Slic3r/lib/Slic3r.pm 2017-08-24 23:41:30.427876144 +0200 +++ Slic3r-master/lib/Slic3r.pm 2017-08-24 23:53:06.285717398 +0200 @@ -91,6 +91,7 @@ # use constant INFILL_OVERLAP_OVER_SPACING => 0.3; # Keep track of threads we created. Each thread keeps its own list of threads it spwaned. +use threads; my @my_threads = (); my @threads : shared = (); my $pause_sema = Thread::Semaphore->new;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor