code cleanup
This commit is contained in:
parent
1bc8043b12
commit
d7c0e9a26b
12
ds.go
12
ds.go
@ -64,15 +64,9 @@ type modify_t[T constraints.Ordered] struct {
|
|||||||
ch chan T
|
ch chan T
|
||||||
}
|
}
|
||||||
type DynamicMultiChan[T constraints.Ordered] struct {
|
type DynamicMultiChan[T constraints.Ordered] struct {
|
||||||
TX chan T
|
TX chan T
|
||||||
RX chan T
|
RX chan T
|
||||||
// used map[int]bool
|
reply bool
|
||||||
// list []chan T
|
|
||||||
// reloadTX chan struct{}
|
|
||||||
// reloadRX chan struct{}
|
|
||||||
// selectCases []reflect.SelectCase
|
|
||||||
reply bool
|
|
||||||
// delta *Stack[int]
|
|
||||||
modify chan modify_t[T]
|
modify chan modify_t[T]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user