termux-packages icon indicating copy to clipboard operation
termux-packages copied to clipboard

Bionic and threads

Open vaites opened this issue 8 years ago • 1 comments

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!

vaites avatar Apr 23 '16 21:04 vaites

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.

stale[bot] avatar Nov 18 '21 22:11 stale[bot]

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.

truboxl avatar Sep 29 '23 10:09 truboxl