Changeset 1440
- Timestamp:
- 10/24/09 12:40:48 (5 months ago)
- Location:
- trunk/pdns/pdns
- Files:
-
- 5 modified
-
base64.cc (modified) (1 diff)
-
htimer.hh (modified) (1 diff)
-
lock.hh (modified) (2 diffs)
-
rcpgenerator.hh (modified) (2 diffs)
-
rec_channel.hh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/base64.cc
r1427 r1440 1 1 #include "base64.hh" 2 2 #include <inttypes.h> 3 3 4 4 namespace anonpdns { -
trunk/pdns/pdns/htimer.hh
r1071 r1440 1 1 #ifndef PDNS_HTIMER_HH 2 2 #define PDNS_HTIMER_HH 3 3 #include <stdint.h> 4 4 #include <boost/shared_ptr.hpp> 5 5 #include <boost/utility.hpp> -
trunk/pdns/pdns/lock.hh
r1439 r1440 79 79 TryWriteLock(pthread_rwlock_t *lock) : d_lock(lock) 80 80 { 81 if(g_singleThreaded) 81 if(g_singleThreaded) { 82 d_havelock=true; 82 83 return; 84 } 83 85 84 86 d_havelock=false; … … 112 114 TryReadLock(pthread_rwlock_t *lock) : d_lock(lock) 113 115 { 114 if(g_singleThreaded) 116 if(g_singleThreaded) { 117 d_havelock=true; 115 118 return; 119 } 116 120 117 d_havelock=false;118 121 if((errno=pthread_rwlock_tryrdlock(d_lock)) && errno!=EBUSY) 119 122 throw AhuException("error acquiring rwlock tryrdlock: "+stringerror()); -
trunk/pdns/pdns/rcpgenerator.hh
r1427 r1440 1 1 /* 2 2 PowerDNS Versatile Database Driven Nameserver 3 Copyright (C) 2005 PowerDNS.COM BV3 Copyright (C) 2005 - 2009 PowerDNS.COM BV 4 4 5 5 This program is free software; you can redistribute it and/or modify … … 20 20 #ifndef PDNS_RCPGENERATOR_HH 21 21 #define PDNS_RCPGENERATOR_HH 22 22 #include <inttypes.h> 23 23 #include <string> 24 24 #include <stdexcept> -
trunk/pdns/pdns/rec_channel.hh
r1427 r1440 3 3 #include <string> 4 4 #include <map> 5 #include <inttypes.h> 5 6 #if !defined SOLARIS8 && !defined WIN32 6 7