Skip to content

Fix the use of locks in the pause function #2

Description

@rsanger

The main problem is that we typically want to call pause(or stop which uses pause) from a signal handler, however in parallel libtrace this involves holding locks.

For a format like DPDK where trace_pstart takes some time and holds the lock the problem can easily be triggered.

Maybe it is best to block signals in pstart?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions