X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ChangeLog;h=59ffe26aef714bdef08433fc74f1c6c97477fdca;hb=66cc02681886cc3da705d0efb7a30a54bc8ce6b4;hp=9434ba58faf564d4bbb39c7cdab13ca59e7aa798;hpb=3fdb706a2a7464a81025bfd07d06c867130f9f1f;p=pspp diff --git a/ChangeLog b/ChangeLog index 9434ba58fa..59ffe26aef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2010-09-22 Paul Eggert + + * lib/pthread.in.h: Add split double-inclusion guard, and include + system if there is one. Use @@-style as in other + .in.h files. Define PTHREAD_COND_INITIALIZER etc. only if system + pthread.h doesn't. + (pthread_mutexattr_destroy, pthread_mutexattr_init): + (pthread_mutexattr_settype, pthread_mutex_trylock): + New static inline functions, if there's no system . + (pthread_spinlock_t, pthread_spin_init, pthread_spin_destroy): + (pthread_spin_lock, pthread_spin_trylock, pthread_spin_unlock): + Approximate with mutexes if the system lacks spinlocks, as in + MacOS. + * m4/pthread.m4 (gl_PTHREAD_CHECK): Require gl_PTHREAD_DEFAULTS. + Add gl_CHECK_NEXT_HEADERS for pthread.h, and support the usual + @@-style. Check for spinlocks separately. + (gl_PTHREAD_DEFAULTS): New macro. + * modules/pthread: Redo to use a more typical style for in.h files. + 2010-09-21 Eric Blake net_if: enhance tests