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

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

问题描述

所以我这个术语有点糊涂了。

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.

此不字异步的定义

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.

什么是我不理解吗?

What am I not understanding here?

推荐答案

这意味着两个线程不同步运行的,也就是说,他们不是在同一时间线上都运行。

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天全站免登陆