[Python-ideas] Preemptive multitasking and asyncio

Steven D'Aprano steve at pearwood.info
Wed Jan 24 11:59:01 EST 2018


On Wed, Jan 24, 2018 at 05:46:29PM +0100, Thomas Güttler wrote:
> I found a question and answer at Stackoverflow[1] which says
> that asyncio/await is like cooperative multitasking.
> 
> My whish is to have preemptive multitasking: The interpreter
> does the yielding.

Isn't that what threading and multiprocessing do?


-- 
Steve


More information about the Python-ideas mailing list