Discussion:
Android/Termux pthread_cancel
Bruno Haible
2018-05-11 01:14:58 UTC
Permalink
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 systematic approach and a bit of constraint
solving. This kind of constraint solving does not scale: it may not work with
50 platforms.

The alternative would be to split the set of platforms into groups (say,
glibc platforms, BSD platforms, Solaris, etc.) and use a #if branch for each
platform group. The result would be longer code, but way more maintainable.

Bruno
Paul Eggert
2018-05-10 19:42:13 UTC
Permalink
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.

Loading...