L
L
Lev Nakonechny2021-07-05 10:30:21
Multithreading
Lev Nakonechny, 2021-07-05 10:30:21

What is the difference between asynchrony with a single thread and multithreading on a single core processor?

What is the difference between asynchrony with a single thread and multithreading on a single core processor? How is a queue of threads running on a single core different from a queue of tasks running on a single thread?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Gornostaev, 2021-07-05
@lev_neko

The fact that asynchrony is cooperative multitasking, in which the order of execution is determined at the application level, and multithreading is preemptive multitasking, in which the order of execution is actually random.

H
HemulGM, 2021-07-05
@HemulGM

What is the difference between asynchrony with a single thread and multithreading on a single core processor? How is a queue of threads executing on a single core different from a queue of tasks executing on a single thread?

Each question has the same answer: "The fact that these are different things."
It's like asking "What's the difference between a car and bread?" It is possible to answer such a question, but it is long and meaningless.
You throw process threads and processor threads into a heap and try to compare them

G
Griboks, 2021-07-05
@Griboks

Stream multiplexers are at different levels.

1
12rbah, 2021-07-05
@12rbah

Read about the difference between these concepts
https://stackoverflow.com/questions/4844637/what-i...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question