mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Updated BoundingResourceUse (markdown)
parent
fc48a6115b
commit
10cc30f58e
@ -1,4 +1,4 @@
|
||||
# Bounding resource use
|
||||
[https://github.com/golang/go/wiki/BoundingResourceUse/_edit](https://github.com/golang/go/wiki/BoundingResourceUse/_edit)# Bounding resource use
|
||||
|
||||
To bound a program's use of a limited resource - like memory - have goroutines synchronize their use of that resource using a buffered channel (i.e., use the channel as a semaphore):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user