You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/10/14 16:03:38 UTC

[GitHub] [trafficserver] SolidWallOfCode opened a new pull request #8423: Promote PendingAction for general use.

SolidWallOfCode opened a new pull request #8423:
URL: https://github.com/apache/trafficserver/pull/8423


   `PendingAction` is a class used in `HttpSM` to safely tracking pending actions. This is generally useful. In particular there is a race condition in `PluginVC` which should be fixed by using this class.
   
   In addition to promoting this out of "HttpSM.h" for general use, the implementation has been adjusted for greater thread safety. Multiple threads can safely assign to the instance, with the guarantee that all actions except the one stored in the instance have been canceled.


-- 
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



[GitHub] [trafficserver] SolidWallOfCode merged pull request #8423: Promote PendingAction for general use.

Posted by GitBox <gi...@apache.org>.
SolidWallOfCode merged pull request #8423:
URL: https://github.com/apache/trafficserver/pull/8423


   


-- 
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



[GitHub] [trafficserver] SolidWallOfCode commented on pull request #8423: Promote PendingAction for general use.

Posted by GitBox <gi...@apache.org>.
SolidWallOfCode commented on pull request #8423:
URL: https://github.com/apache/trafficserver/pull/8423#issuecomment-945976881


   Updated to remove the thread safety, I'll put that in a separate PR.


-- 
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