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

missing pthread_join in main-signal-cv.c #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ivan-afonichkin
Copy link

Pthread_join is missing in the main-signal-cv.c.

Without pthread_join I get the following ThreadSanitizer thread leak on MacOS:

WARNING: ThreadSanitizer: thread leak (pid=56924)           
  Thread T1 (tid=6869398, finished) created by main thread at:                                                                                                                       
    #0 pthread_create <null>:93329120 (libclang_rt.tsan_osx_dynamic.dylib:arm64+0x9400) (BuildId: 9227ab97c5583bf4bf416813368ede8632000000200000000100000000000b00)                  │
    #1 main main-signal-cv.c:50 (a.out:arm64+0x100003b80) (BuildId: 2984ab0c7605351bb8d28110e3129afd32000000200000000100000000000e00)                                                │                                                                                                                        

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.

1 participant