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

Add thread counter function #317

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

patrickelectric
Copy link
Member

No description provided.

@patrickelectric
Copy link
Member Author

@joaoantoniocardoso sadly the counter is returning zero, not sure why since the threads are processes that run with the current thread as their parent id. Any idea ?

@patrickelectric
Copy link
Member Author

@joaoantoniocardoso sadly the counter is returning zero, not sure why since the threads are processes that run with the current thread as their parent id. Any idea ?

@joaoantoniocardoso I got this working now and I'm able to identify thread leaks.

  1. Enable the monitor
  2. Create a stream
  3. Go to webrtc site and do all the steps to see the video stream
  4. Repeat step 3 and you'll see the number of tasks increasing non stop

Signed-off-by: Patrick José Pereira <[email protected]>
Signed-off-by: Patrick José Pereira <[email protected]>
@patrickelectric patrickelectric merged commit 104bafe into mavlink:master Nov 30, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants