Le flux du code reste non-intuitif / très différent du code synchrone.
Code flow remains non-intuitive/ very different from sync code.
Cela peut être aussi utile pour éviter des deadlocks dans le cas où on se retrouve forcé de mélanger du code synchrone et du code asynchrone.
This can also be useful for avoiding deadlocks in case you are forced to mix synchronous and asynchronous code.
le critère servant à la détermination de la largeur de la fenêtre de corrélation zéro du code synchrone n'est pas plus grand que le défilement du temps de programmation de signaux multivoies
the criterion for determining the width of the zero correlation window of synchronous code is not larger delay spreading of multi-path signals
Eh bien, vous pouvez tirer parti de ce comportement de sortie/reprise pour écrire du code asynchrone qui ressemble à (et est aussi facile à lire que) du code synchrone.
Well, you can use this return/resume behaviour to write async code that looks like (and is as easy to follow as) synchronous code.
Remarquez que, bien que CancellationToken ait été introduit avec la TPL et que tous mes exemples soient asynchrones, vous pouvez également utiliser cette technique avec du code synchrone.
Note that even though CancellationToken was introduced with the TPL and all the examples I gave were asynchronous, nothing prevents you from using this technique with synchronous code.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.
No results found for this meaning.
Synonyms and analogies of "du code synchrone" in French