CommitUpdate finalizes config update and notifies listeners. NOTE: `ais` package must use config-owner to modify config.
(config *Config)
| 85 | // CommitUpdate finalizes config update and notifies listeners. |
| 86 | // NOTE: `ais` package must use config-owner to modify config. |
| 87 | func (gco *globalConfigOwner) CommitUpdate(config *Config) { |
| 88 | gco.c.Store(unsafe.Pointer(config)) |
| 89 | gco.mtx.Unlock() |
| 90 | } |
| 91 | |
| 92 | // DiscardUpdate discards commit updates. |
| 93 | // NOTE: `ais` package must use config-owner to modify config |