[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Android/Termux pthread_cancel
From: |
Bruno Haible |
Subject: |
Re: Android/Termux pthread_cancel |
Date: |
Fri, 11 May 2018 03:14:58 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-119-generic; KDE/5.18.0; x86_64; ; ) |
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 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