Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 526984 Details for
Bug 647964
app-portage/gemato-14.1m: deadlock?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gc-hack.diff
gc-hack.diff (text/plain), 777 bytes, created by
Michał Górny
on 2018-04-10 06:35:57 UTC
(
hide
)
Description:
gc-hack.diff
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2018-04-10 06:35:57 UTC
Size:
777 bytes
patch
obsolete
>diff --git a/gemato/util.py b/gemato/util.py >index eb052b6..ef5464f 100644 >--- a/gemato/util.py >+++ b/gemato/util.py >@@ -3,6 +3,7 @@ > # (c) 2017-2018 MichaŠGórny > # Licensed under the terms of 2-clause BSD license > >+import gc > import multiprocessing > import sys > >@@ -19,6 +20,7 @@ class MultiprocessingPoolWrapper(object): > self.pool = multiprocessing.Pool(processes=processes) > > def __enter__(self): >+ gc.disable() > return self > > def __exit__(self, exc_type, exc_value, exc_cb): >@@ -26,6 +28,7 @@ class MultiprocessingPoolWrapper(object): > self.pool.close() > self.pool.join() > self.pool.terminate() >+ gc.enable() > > def map(self, *args, **kwargs): > return self.pool.map(*args, **kwargs)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 647964
:
519908
|
523086
|
523828
|
526914
| 526984