mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Fix table rows
parent
0d6986a1f7
commit
682cb0284b
@ -13,7 +13,7 @@ A common Go newbie mistake is to over-use channels and goroutines just because i
|
|||||||
As a general guide, though:
|
As a general guide, though:
|
||||||
|
|
||||||
| **Channel** | **Mutex**|
|
| **Channel** | **Mutex**|
|
||||||
|:------------|:|
|
|:------------|:---------|
|
||||||
| passing ownership of data,<br />distributing units of work,<br /> communicating async results | caches,<br />state |
|
| passing ownership of data,<br />distributing units of work,<br /> communicating async results | caches,<br />state |
|
||||||
|
|
||||||
If you ever find your sync.Mutex locking rules are getting too complex, ask yourself whether using channel(s) might be simpler.
|
If you ever find your sync.Mutex locking rules are getting too complex, ask yourself whether using channel(s) might be simpler.
|
||||||
@ -21,4 +21,4 @@ If you ever find your sync.Mutex locking rules are getting too complex, ask your
|
|||||||
## More Info
|
## More Info
|
||||||
|
|
||||||
* Channels in Effective Go: http://golang.org/doc/effective_go.html#channels
|
* Channels in Effective Go: http://golang.org/doc/effective_go.html#channels
|
||||||
* The sync package: http://golang.org/pkg/sync/
|
* The sync package: http://golang.org/pkg/sync/
|
||||||
|
@ -6,7 +6,7 @@ Required:
|
|||||||
* If you want to run go1.3 or 1.4 on OpenBSD 5.6, see http://golang.org/issue/9102
|
* If you want to run go1.3 or 1.4 on OpenBSD 5.6, see http://golang.org/issue/9102
|
||||||
|
|
||||||
| **Kernel version** | **Min. version** | **Max. version**|
|
| **Kernel version** | **Min. version** | **Max. version**|
|
||||||
|:-------------------|:-----------------|:|
|
|:-------------------|:-----------------|:----------------|
|
||||||
| 5.6 | go1.5 | go1.5 |
|
| 5.6 | go1.5 | go1.5 |
|
||||||
| 5.5 | go1.3 | go1.5 |
|
| 5.5 | go1.3 | go1.5 |
|
||||||
|
|
||||||
@ -72,4 +72,4 @@ ukc> disable mpbios
|
|||||||
ukc> quit
|
ukc> quit
|
||||||
Saving modified kernel.
|
Saving modified kernel.
|
||||||
#
|
#
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user