Re: Android/Termux pthread_cancel

2018-05-10 Thread Bruno Haible
Paul Eggert wrote: > To simplify this sort of thing in the future, I suggest that Gnulib drop > support for IRIX The simplification would not have been big: IRIX is just one among 12 platforms. The issue here was that we attempted to have a unique code for all 12 platforms, and this requires a s

Re: Android/Termux pthread_cancel

2018-05-10 Thread Paul Eggert
Wow, thanks for doing all that work. To simplify this sort of thing in the future, I suggest that Gnulib drop support for IRIX, as IRIX has no user community outside of computer museums and SGI has not supported it since 2013. (Had we dropped IRIX support already, your email would have been ha

cond tests: fix compilation error on Solaris

2018-05-10 Thread Bruno Haible
A testdir for 'cond' fails to compile on Solaris 10: gcc -O2 -DHAVE_CONFIG_H -I. -I../../gltests -I.. -DGNULIB_STRICT_CHECKING=1 -DIN_GNULIB_TESTS=1 -I. -I../../gltests -I.. -I../../gltests/.. -I../gllib -I../../gltests/../gllib -I/home/haible/prefix-x86/include -Wall -D_REENTRANT -g -O2

Re: Android/Termux pthread_cancel

2018-05-10 Thread Paul Eggert
On 05/10/2018 12:23 PM, Devin Hussey wrote: It seems to work. I don't know why, but it works. Thanks for letting me know. I'll CC: this to bug-gnulib so that Bruno Haible knows the patch works for you.

Re: [PATCH] pthread: document Android limits

2018-05-10 Thread Bruno Haible
> 2018-05-10 Bruno Haible > > doc: Add info about Android 9.0. > * doc/**/*.texi: Add info about functions and headers in Bionic from > Android 9.0. > > http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=40c967ce94103c24c083de0a600710f9badf0f47 And also some inf

Re: [PATCH] pthread: document Android limits

2018-05-10 Thread Bruno Haible
Paul Eggert wrote: > doc/posix-functions/pthread_cancel.texi | 2 +- > doc/posix-functions/pthread_setcancelstate.texi | 2 +- > doc/posix-functions/pthread_setcanceltype.texi | 2 +- > doc/posix-functions/pthread_testcancel.texi | 2 +- More generally, let's document the differences

Re: Android/Termux pthread_cancel

2018-05-10 Thread Paul Eggert
Devin Hussey wrote: regexec.c calls lock_unlock, which is a macro that calls, from glthread/lock.h glthread_lock_lock, which calls pthread_in_use, which is defined as (pthread_cancel != NULL). Thanks for the explanation. Does the attached Gnulib patch fix things for you? >From 927d36f6cdbda0

[PATCH] pthread: document Android limits

2018-05-10 Thread Paul Eggert
Problem reported by Devin Hussey in: https://lists.gnu.org/r/bug-gnulib/2018-05/msg00062.html --- doc/posix-functions/pthread_cancel.texi | 2 +- doc/posix-functions/pthread_setcancelstate.texi | 2 +- doc/posix-functions/pthread_setcanceltype.texi | 2 +- doc/posix-functions/pthread_test