trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jplev...@apache.org
Subject svn commit: r1144096 - /trafficserver/traffic/trunk/iocore/dns/DNS.cc
Date Thu, 07 Jul 2011 23:52:56 GMT
Author: jplevyak
Date: Thu Jul  7 23:52:55 2011
New Revision: 1144096

URL: http://svn.apache.org/viewvc?rev=1144096&view=rev
Log:
TS-833: Continuation::handleEvent deadbeef fix, thanx: taorui <weilogster@126.com>

Modified:
    trafficserver/traffic/trunk/iocore/dns/DNS.cc

Modified: trafficserver/traffic/trunk/iocore/dns/DNS.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/dns/DNS.cc?rev=1144096&r1=1144095&r2=1144096&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/dns/DNS.cc (original)
+++ trafficserver/traffic/trunk/iocore/dns/DNS.cc Thu Jul  7 23:52:55 2011
@@ -986,7 +986,7 @@ DNSProcessor::getby(const char *x, int l
   DNSEntry *e = dnsEntryAllocator.alloc();
   e->retries = dns_retries;
   e->init(x, len, type, cont, adnsH, timeout);
-  MUTEX_TRY_LOCK(lock, e->mutex, thread);
+  MUTEX_TRY_LOCK(lock, e->mutex, this_ethread());
   if (!lock)
     thread->schedule_imm(e);
   else



Mime
View raw message