milvus/pkg/util/syncutil
chyezh 465fd474de
enhance: add syncutil type ContextCond and VersionedNotifier (#30648)
issue: #30647

- ContextCond is a broadcast-only condition variable which can be
canceled by context.

- VersionedNotifier is a version-based notifier-listener implementation,
which promise no change can be ignored.

Signed-off-by: chyezh <chyezh@outlook.com>
2024-03-15 15:41:04 +08:00
..
context_condition_variable_test.go enhance: add syncutil type ContextCond and VersionedNotifier (#30648) 2024-03-15 15:41:04 +08:00
context_condition_variable.go enhance: add syncutil type ContextCond and VersionedNotifier (#30648) 2024-03-15 15:41:04 +08:00
versioned_notifier_test.go enhance: add syncutil type ContextCond and VersionedNotifier (#30648) 2024-03-15 15:41:04 +08:00
versioned_notifier.go enhance: add syncutil type ContextCond and VersionedNotifier (#30648) 2024-03-15 15:41:04 +08:00