Mercurial > hg > bitcoin
view src/irc.h @ 3586:9e976381e5ba draft
add LOCK() for proxy related data-structures
- fix #1560 by properly locking proxy related data-structures
- update GetProxy() and introduce GetNameProxy() to be able to use a
thread-safe local copy from proxyInfo and nameproxyInfo
- update usage of GetProxy() all over the source to match the new
behaviour, as it now fills a full proxyType object
- rename GetNameProxy() into HaveNameProxy() to be more clear
author | Philip Kaufmann <phil.kaufmann@t-online.de> |
---|---|
date | Sun, 23 Sep 2012 12:55:05 +0200 |
parents | 98dbb2aa4f5a |
children |
line wrap: on
line source
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_IRC_H #define BITCOIN_IRC_H void ThreadIRCSeed(void* parg); extern int nGotIRCAddresses; #endif