[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Android/Termux pthread_cancel

From: Paul Eggert
Subject: Re: Android/Termux pthread_cancel
Date: Wed, 9 May 2018 17:48:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 05/08/2018 08:27 PM, Devin Hussey wrote:
Hello, I noticed a bit of an issue with Gnulib and Android when trying to compile nano on Termux.

Android, and by extension, Termux, is missing pthread_cancel, pthread_testcancel, pthread_setcancelstate, and pthread_setcanceltype.

A workaround is in https://github.com/cSploit/android.native/blob/master/bionic_workarounds.md, and a port is here https://github.com/tux-mind/libbthread, which is available in the Termux apt repo. (the former appears to be a port from glibc)

This causes, for example, regexec.c, to fail to build on Termux without using the bthread polyfill.

Sorry, I'm not getting the connection to Gnulib. Gnulib regexec.c does not mention pthread_cancel.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]