T
T
Trimsky2020-09-02 08:39:42
Asynchronous programming
Trimsky, 2020-09-02 08:39:42

async to async. Is there a performance penalty?

Hello!
Will there be a performance penalty from creating (async - a thread) a thread within a thread?

Thank you for your attention!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0nkery, 2020-09-02
@Trimsky

Looking about what specific implementation there is a speech. Usually not, because it's all handled by some sort of scheduler that sorts out the execution of subtasks. In addition, if you have one task inside another, this means that they are simply dependent on each other, which means that for the scheduler they will simply be the sequence A[inside] -> A[outside].

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question