Skip to content

Commit 7b7ea2f

Browse files
committed
update
1 parent 552c045 commit 7b7ea2f

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

raw/Python, the GIL, and Pyston.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ overheads low.
4242

4343
### 问题2:内存模型
4444

45-
This is something that most Python programmers don't think about because we
46-
don't have to, but the "memory model" specifies the potential ways one thread
47-
is allowed to observe the effects of another thread.  Let's say we have one
48-
thread that runs:
45+
有一些大多数Python程序员不用考虑的东西(因为他们不必考虑),但是“内存模型”指定了允许一个线程观察另一个线程影响的潜在方式。比方说,我们有一个线程运行:
4946

5047
```python
5148
a = b = 0
@@ -55,7 +52,7 @@ thread that runs:
5552
b = 2
5653
```
5754

58-
And then we have a second thread:
55+
然后,我们有第二个线程:
5956

6057
```python
6158
def thread2():

0 commit comments

Comments
 (0)