Hi Jonathan,

Mike's review on v2 is largely positive -- the main open questions are:

1. Should the _GTHREAD_USE_*_STEADY detection move from libstdc++'s
configure into libgcc's? I followed the existing
_GTHREAD_USE_MUTEX_TIMEDLOCK precedent, but Mike feels libgcc should
own it. Moving it would be new ground though -- libgcc's configure has
no gthread/pthread detection logic, and unlike _POSIX_TIMEOUTS (which
_GTHREAD_USE_MUTEX_TIMEDLOCK relies on), there's no POSIX feature-test
macro for pthread_cond_clockwait / pthread_mutex_clocklock.

2. Is the steady-specific API shape (__gthread_mutex_timedlock_steady,
etc.) acceptable, or would you prefer generic
__gthread_mutex_clocklock() functions taking a clock parameter? I went
with steady-specific to avoid
introducing a portable clockid_t abstraction when we only need two clocks today.

Happy to raise a new revision if you have suggestions on the above.

Thanks,
Nick

Reply via email to