status-go/vendor/github.com/ethereum/go-ethereum/eth/downloader
Dmitry Shulyak 84cb5ca917 Ensure that wg.Add is called before wg.Wait
Now if Add is to be called it will be called before Wait, this is achieved
by doing following:
- if cancel() gets lock first and closes channelCh before spawnSync is called
we will exit right away
- if not than we will ensure that we hold a lock until syncers are spawned
so that cancel() will be blocked for this time and it will prevent whole Terminate() from
progressing
2018-05-04 10:28:15 +02:00
..
api.go Update go-ethereum to 1.8.5 (#854) 2018-04-24 18:50:26 +03:00
downloader.go Ensure that wg.Add is called before wg.Wait 2018-05-04 10:28:15 +02:00
events.go Initial refactoring + vendor update (after rebase) 2016-09-15 06:12:25 +03:00
fakepeer.go Update go-ethereum to 1.8.5 (#854) 2018-04-24 18:50:26 +03:00
metrics.go Update go-ethereum to 1.8.5 (#854) 2018-04-24 18:50:26 +03:00
modes.go vendors: geth updated to 1.6.1-unstable-without-whisper 2017-05-03 16:00:35 +03:00
peer.go Update go-ethereum to 1.8.5 (#854) 2018-04-24 18:50:26 +03:00
queue.go Update go-ethereum to 1.8.5 (#854) 2018-04-24 18:50:26 +03:00
statesync.go Update go-ethereum to 1.8.5 (#854) 2018-04-24 18:50:26 +03:00
types.go Merging bug/whisper-on-geth1.6.1 (#236) which acts like develop 2017-08-04 23:14:17 +07:00