Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/6.0] Make sure EventPipe streaming thread won't write session->streaming_thread after session free. #58710

Merged
merged 1 commit into from
Sep 8, 2021

Commits on Sep 6, 2021

  1. Make sure EventPipe streaming thread won't write session->streaming_t…

    …hread after session free.
    
    In case where ep_disable is called by a different thread (close IPC command)
    there was a race between streaming threads setting
    session->streaming_thread to NULL and IPC command triggering a call
    to disable_holding_lock and freeing session.
    
    Resetting the streaming_thread in streaming thread must happens before
    it signals its shutdown event to prevent the race.
    lateralusX authored and github-actions committed Sep 6, 2021
    Configuration menu
    Copy the full SHA
    8b8eeb7 View commit details
    Browse the repository at this point in the history