lzhfromustc 0e7173b447
pkg/types: Avoid potential double lock of tsafeSet.
(tsafeSet).Sub and (tsafeSet).Equals can cause double lock bug if ts and other is pointing the same variable

gofmt the code and add some comments
2019-08-07 15:08:00 -07:00
..
2019-08-05 00:24:39 -07:00
2018-07-21 15:49:58 -07:00
2015-11-17 20:54:10 -08:00
2019-07-24 14:09:50 -07:00
2019-05-28 15:39:35 -07:00
2018-02-28 17:27:40 -08:00
2019-05-28 15:39:35 -07:00
2019-05-28 15:39:35 -07:00
2019-05-28 15:39:35 -07:00
2016-05-12 20:48:53 -07:00
2019-05-28 15:39:35 -07:00
2018-04-30 15:32:16 -07:00
2016-05-12 20:48:53 -07:00
2019-05-28 15:39:35 -07:00
2018-04-08 14:18:09 -07:00
2019-05-28 15:39:35 -07:00
2014-10-26 16:28:48 -07:00

pkg/ is a collection of utility packages used by etcd without being specific to etcd itself. A package belongs here only if it could possibly be moved out into its own repository in the future.