Am 28.09.2016 um 14:16 hat Vladimir Sementsov-Ogievskiy geschrieben: > >I think jobs will need to remain "one coroutine, one job" for now, > >but there's no reason why drive-backup or blockdev-backup can't > >just create multiple jobs each if that's what they need to do. > >(The backup job object could, in theory, just have another job > >pointer to a helper job if it really became necessary.)
What's the problem with a job spawning additional coroutines internally? Jobs already do this all the time (AIO requests are just coroutines in disguise.) A job is basically just the user interface for managing a background process, so helper jobs that are managed internally rather than by the user don't seem to make that much sense. Kevin