gdbsupport: factor out work queue from parallel-for.h In preparation for a following patch that will re-use the shared work queue algorithm, move it to a separate class. Change-Id: Id05cf8898a5d162048fa8fa056fbf7e0441bfb78 Approved-By: Tom Tromey <tom@tromey.com>