commit | 7fad7b7d3d7dcdaa7b17855fe333fcc4da000b46 | [log] [tgz] |
---|---|---|
author | Alex Deymo <[email protected]> | Tue Jul 21 22:22:47 2015 -0700 |
committer | ChromeOS Commit Bot <[email protected]> | Fri Jul 24 04:17:15 2015 +0000 |
tree | 92add175ab0f4d34aa03e83492604faf7d63fb98 | |
parent | cfe8c15afc6c725a9626577db6504675310498d8 [diff] |
update_engine: Replace gthread with libchrome equivalents. This patch replaces the gthread usage in the multi-threaded full payload generator with equivalent functions from libchrome. In the new code, a thread-pool is used instead of creating one thread per work and waiting for the threads to finish. BUG=chromium:499886 TEST=unittests still pass. Change-Id: I00fd56de2a789b5f007f1a4ab88680809bbeb5f0 Reviewed-on: https://chromium-review.googlesource.com/287635 Trybot-Ready: Alex Deymo <[email protected]> Tested-by: Alex Deymo <[email protected]> Reviewed-by: Gilad Arnold <[email protected]> Commit-Queue: Alex Deymo <[email protected]>