Update ch6-03.md

mutex互斥量

应该是mutex互斥锁吧
pull/122/head
Asakijz 2022-09-06 13:48:45 +08:00 committed by GitHub
parent 096ef23f97
commit 67f8003c62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ type ColoredPoint struct {
方法只能在命名类型像Point或者指向类型的指针上定义但是多亏了内嵌有些时候我们给匿名struct类型来定义方法也有了手段。
下面是一个小trick。这个例子展示了简单的cache其使用两个包级别的变量来实现一个mutex互斥§9.2和它所操作的cache
下面是一个小trick。这个例子展示了简单的cache其使用两个包级别的变量来实现一个mutex互斥§9.2和它所操作的cache
```go
var (