summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-06 00:29:43 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-06 13:12:18 +0000
commit7e880a95840db82f4035959b03630ba2a96c0311 (patch)
tree252a4c845895d38bd4bf03dfb6576e9535c0c8c0 /meta/classes/package.bbclass
parent981fed49ee80560fb067b3f47aeada1fdee792ca (diff)
downloadopenembedded-core-7e880a95840db82f4035959b03630ba2a96c0311.tar.gz
openembedded-core-7e880a95840db82f4035959b03630ba2a96c0311.tar.bz2
openembedded-core-7e880a95840db82f4035959b03630ba2a96c0311.zip
package.bbclass: use the multiprocess pool from bitbake
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 61d90cc12e..8a4731be3c 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -872,7 +872,7 @@ python split_and_strip_files () {
import multiprocessing
nproc = multiprocessing.cpu_count()
- pool = multiprocessing.Pool(nproc)
+ pool = bb.utils.multiprocessingpool(nproc)
processed = pool.imap(oe.package.runstrip, sfiles)
pool.close()
pool.join()
@@ -1221,7 +1221,7 @@ python package_do_filedeps() {
import multiprocessing
nproc = multiprocessing.cpu_count()
- pool = multiprocessing.Pool(nproc)
+ pool = bb.utils.multiprocessingpool(nproc)
processed = pool.imap(oe.package.filedeprunner, pkglist)
pool.close()
pool.join()