Re: new module for async-safe spin locks

2020-07-03 Thread Bruno Haible
> - Solaris cc: are handled through inline asm, based on the code that > GCC would generate. Sun Studio 11 cc (__SUNPRO_C == 0x580) does not support GCC extended asm syntax, but Sun Studio 12 cc (__SUNPRO_C >= 0x590) does. 2020-07-03 Bruno Haible asyncsafe-spin: Use GCC extende

Re: new module for async-safe spin locks

2020-07-03 Thread Bruno Haible
A small code unification: 2020-07-03 Bruno Haible asyncsafe-spin: Reduce code duplication. * lib/asyncsafe-spin.c: (do_lock, do_unlock): New functions. (asyncsafe_spin_lock, asyncsafe_spin_unlock): Use them. * modules/asyncsafe-spin (configure.ac): Require AC_C