You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2016/05/11 20:31:41 UTC

[trafficserver] 17/33: TS-4425: Switch P_UnixEthread.h over to Ptr::get().

This is an automated email from the ASF dual-hosted git repository.

jpeach pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit d700ba766e00f5f33bb13865e8f356d2e78d4456
Author: James Peach <jp...@apache.org>
AuthorDate: Thu May 5 21:25:53 2016 -0700

    TS-4425: Switch P_UnixEthread.h over to Ptr::get().
---
 iocore/eventsystem/P_UnixEThread.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/iocore/eventsystem/P_UnixEThread.h b/iocore/eventsystem/P_UnixEThread.h
index f884f4b..e2356a1 100644
--- a/iocore/eventsystem/P_UnixEThread.h
+++ b/iocore/eventsystem/P_UnixEThread.h
@@ -97,7 +97,7 @@ EThread::schedule(Event *e, bool fast_signal)
     e->mutex = e->continuation->mutex;
   else
     e->mutex = e->continuation->mutex = e->ethread->mutex;
-  ink_assert(e->mutex.m_ptr);
+  ink_assert(e->mutex.get());
   EventQueueExternal.enqueue(e, fast_signal);
   return e;
 }
@@ -145,7 +145,7 @@ EThread::schedule_local(Event *e)
     ink_assert(tt == DEDICATED);
     return eventProcessor.schedule(e, ET_CALL);
   }
-  if (!e->mutex.m_ptr) {
+  if (!e->mutex) {
     e->ethread = this;
     e->mutex = e->continuation->mutex;
   } else {

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.