mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-11-21 12:26:02 +03:00
Update read_write_lock.md
This commit is contained in:
parent
a99ebbcebf
commit
14a9fa097b
@ -8,6 +8,7 @@ package router
|
||||
|
||||
import (
|
||||
"sync"
|
||||
"net"
|
||||
)
|
||||
|
||||
type Socket string
|
||||
@ -108,4 +109,4 @@ go func(r *Router){
|
||||
// until counter = 0 Write can be acquired
|
||||
}(router)
|
||||
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user