mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 18:57:17 -07:00
balls
This commit is contained in:
parent
02c8a095d3
commit
9363649bce
2 changed files with 10 additions and 0 deletions
|
@ -151,6 +151,14 @@ func (q *Queue) Send(raw []byte) error {
|
|||
}
|
||||
}
|
||||
|
||||
func (q *Queue) Lock() {
|
||||
q.lock.Lock()
|
||||
}
|
||||
|
||||
func (q *Queue) Unlock() {
|
||||
q.lock.Unlock()
|
||||
}
|
||||
|
||||
func (q *Queue) Stop() {
|
||||
q.lock.Lock()
|
||||
defer q.lock.Unlock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue