You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "masaori335 (via GitHub)" <gi...@apache.org> on 2023/02/20 02:21:26 UTC

[GitHub] [trafficserver] masaori335 commented on a diff in pull request #9433: Ethread::process_event(): make sure event mutex is unlocked before freeing event.

masaori335 commented on code in PR #9433:
URL: https://github.com/apache/trafficserver/pull/9433#discussion_r1111390954


##########
iocore/eventsystem/UnixEThread.cc:
##########
@@ -161,6 +162,7 @@ EThread::process_event(Event *e, int calling_code)
         EventQueueExternal.enqueue_local(e);
       }
     } else if (!e->in_the_prot_queue && !e->in_the_priority_queue) {
+      MUTEX_RELEASE(lock);

Review Comment:
   It looks like the `lock` is already released in line 154 for this case.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org