Can t find answers even in ChatGPT. My argue is : When executing a one thread asyncio task, run 10000 tasks,
async def task():
async def func():
return 1+1000
result = await func()
What talked with ChatGPT is, when await executed, the one thread loop manager put a "pause" tag on the current task, which the function: func() running in background My question is: is it true parallelism or how it works?
The loop execute the calculation of the func() see if it is completed even when it has "pause" tag? IT IS TURE PARALLELISM?.
That s why it will know it the task is completed. So when loop manager is running, 500 func() is running, is it parallelism? It is parallelism involved, how they use the cores? Also, anybody knows the exactly moment like the deep depth, how the manager knows the task is complete, an call back?
我与ChatGPT保持接触,但我仍然不知所见的回答说,吉卜赛人“是一对一对一,一对不是平行的”,但显然说,管理着500项职能,并在SAME TPAS上任管理人,这是平行的。 在一个核心或多个核心中?