From a150dd9ca8851d93313041bcc3aaa9a3f84eeadb Mon Sep 17 00:00:00 2001 From: Rustln Date: Wed, 6 Apr 2022 14:23:00 +0800 Subject: [PATCH] Fixed typo. --- src/advance/concurrency-with-threads/thread.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/advance/concurrency-with-threads/thread.md b/src/advance/concurrency-with-threads/thread.md index a191508b..7b9d37b6 100644 --- a/src/advance/concurrency-with-threads/thread.md +++ b/src/advance/concurrency-with-threads/thread.md @@ -263,7 +263,7 @@ for handle in handles { } ``` -按理来说,既然是无锁实现了,那么锁的开销应该几乎没有,性能会随着线程数的增加几近线程增长,但是真的是这样吗? +按理来说,既然是无锁实现了,那么锁的开销应该几乎没有,性能会随着线程数的增加接近线性增长,但是真的是这样吗? 下图是该代码在 `48` 核机器上的运行结果: