Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isolate 可以理解为一个进程么? #13

Closed
JerryC8080 opened this issue Mar 8, 2017 · 1 comment
Closed

Isolate 可以理解为一个进程么? #13

JerryC8080 opened this issue Mar 8, 2017 · 1 comment

Comments

@JerryC8080
Copy link

对于描述:一个 Isolate 是一个独立的虚拟机。对应一个或多个线程。但同一时刻 只能被一个线程进入。所有的 Isolate 彼此之间是完全隔离的, 它们不能够有任何共享的资源。

这样的描述,Isolate 就很像一个进程,进程里面可以包含多个线程,同一时刻只有一个线程被运行。
那么在创建 Isolate 的时候,就相当于另起进程么?

@yjhjstz
Copy link
Owner

yjhjstz commented Mar 8, 2017

有意思的类比!
但好像搞反了,线程:Isolate 是 1:N的关系。

@yjhjstz yjhjstz closed this as completed Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants