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 /src/daemon/command_parser_executor.h | |
| parent | 23c3d382c8a0c1bbbff8eacebf96152fca8cf476 (diff) | |
| download | monzero-core-f74792b77881318087312afb27a12dd26d2edb6e.tar.gz monzero-core-f74792b77881318087312afb27a12dd26d2edb6e.tar.xz monzero-core-f74792b77881318087312afb27a12dd26d2edb6e.zip | |
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 'src/daemon/command_parser_executor.h')
0 files changed, 0 insertions, 0 deletions
