diff options
author | warptangent <warptangent@inbox.com> | 2015-01-14 13:14:01 -0800 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-01-14 14:01:04 -0800 |
commit | f74792b77881318087312afb27a12dd26d2edb6e (patch) | |
tree | d0a9cf9d3bd21d898d12be0b7a888bb97f87c252 /tests | |
parent | added monoermooo's gpg key (diff) | |
download | monero-f74792b77881318087312afb27a12dd26d2edb6e.tar.xz |
Fix seed node threaded DNS lookup
Use copied value of seed node index during thread creation, not
reference.
- fixes segfault
Use boost::thread::try_join_until() instead of an atomic flag result
variable for each thread.
Add and handle interrupt for thread timeout.
- fixes segfault where a thread exceeds requested timeout and tries to
assign results to a referenced, but now out-of-scope, variable in
the main thread.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions