为什么异步进程不称为同步? [英] Why are Asynchronous processes not called Synchronous?

查看:25
本文介绍了为什么异步进程不称为同步?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我对这个术语有点困惑.

So I'm a little confused by this terminology.

每个人都将异步"计算称为在单独的线程上运行不同的进程,这给人一种这些进程同时运行的错觉.

Everyone refers to "Asynchronous" computing as running different processes on seperate threads, which gives the illusion that these processes are running at the same time.

这不是异步这个词的定义.

This is not the definition of the word asynchronous.

a⋅syn⋅chro⋅nous
–adjective 
1. not occurring at the same time. 
2. (of a computer or other electrical machine) having each operation started only after the preceding operation is completed. 

我在这里不明白什么?

推荐答案

表示两个线程没有同步运行,也就是它们不在同一时间线上运行.

It means that the two threads are not running in sync, that is, they are not both running on the same timeline.

我认为这是计算机科学家在使用词语方面过于聪明的一个例子.

I think it's a case of computer scientists being too clever about their use of words.

在这种情况下,同步意味着两个线程同时开始和结束.从这个意义上说,异步意味着两个线程都可以根据需要自由地启动、执行和结束.

Synchronisation, in this context, would suggest that both threads start and end at the same time. Asynchrony in this sense, means both threads are free to start, execute and end as they require.

这篇关于为什么异步进程不称为同步?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆