Commit Graph

8 Commits

Author SHA1 Message Date
Thomas Corbière ee67e34519 Fix lint errors (#190)
* use increment and decrement operators.

* remove unnecessary else branches.

* fix receiver names.

* remove omittable code.

* fix dot imports.
2018-04-03 12:23:28 +02:00
Anton Kaliaev 91b41ddd59
add waitCh as an alternative to waitGroup
new methods:
 - [CList] WaitChan()
 - [CElement] NextWaitChan()
 - [CElement] PrevWaitChan()

Refs https://github.com/tendermint/tendermint/pull/1173
2018-02-05 11:36:36 +04:00
Jae Kwon e47ce81422 Comment fixes from Emmanuel 2017-12-28 03:05:55 -08:00
Jae Kwon 0f8ebd024d
Update clist.go
Add more justification of synchrony primitives in documentation.
2017-12-25 22:28:15 -08:00
Jae Kwon 2fd8f35b74 Fix #112 by using RWMutex per element 2017-12-25 21:12:14 -08:00
Ethan Buchman d3bac7a6fe clist: reduce numTimes in test 2017-11-27 19:49:30 +00:00
Zach Ramsay d6e03d2368 linting: add to Makefile & do some fixes 2017-09-22 11:42:29 -04:00
Ethan Buchman acbd7caaf8 merge go-clist 2017-04-18 16:33:27 -04:00