1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-05-26 14:09:06 -04:00
This commit is contained in:
wuxiangzhou2010
2018-04-02 15:52:16 +08:00
parent a58063e7ac
commit 5a08411ee2
12 changed files with 16 additions and 16 deletions

2
common/signal/done.go Normal file → Executable file
View File

@@ -4,7 +4,7 @@ import (
"sync"
)
// Done is an utility for notifications of something being done.
// Done is a utility for notifications of something being done.
type Done struct {
access sync.Mutex
c chan struct{}

2
common/signal/notifier.go Normal file → Executable file
View File

@@ -1,6 +1,6 @@
package signal
// Notifier is an utility for notifying changes. The change producer may notify changes multiple time, and the consumer may get notified asynchronously.
// Notifier is a utility for notifying changes. The change producer may notify changes multiple time, and the consumer may get notified asynchronously.
type Notifier struct {
c chan struct{}
}