termux-packages
termux-packages copied to clipboard
Bionic and threads
Hi
I'm working on some packages that need a complete POSIX implementation of threads, and Bionic library lacks some functions (like pthread_cancel). There are some workarounds (using pthread_kill instead of pthread_cancel) but didn't worked for me (app hangs). Searching for a solution I found this repository. I think that adding this to toolchain (as tmpfile fix) would make many packages work without modification. My proposal is reasonable or is there a better alternative?.
Thanks!
This issue/PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing. I believe maintainers now know better in patching their packages by replacing the calls or better yet remove the calls altogether. There are also reports of unreliability: https://github.com/termux/termux-packages/issues/4378#issuecomment-538683862 There is no need to introduce another library as a dependency.