atomic_value.go 188 B

1234567891011121314
  1. // +build go1.4
  2. package ldap
  3. import (
  4. "sync/atomic"
  5. )
  6. // For compilers that support it, we just use the underlying sync/atomic.Value
  7. // type.
  8. type atomicValue struct {
  9. atomic.Value
  10. }