Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libpthread



Module Name:    src
Committed By:   ad
Date:           Sat Mar 24 18:52:00 UTC 2007

Modified Files:
        src/lib/libpthread: pthread.c pthread_barrier.c pthread_cond.c
            pthread_int.h pthread_lock.c pthread_mutex.c pthread_rwlock.c sem.c

Log Message:
- Test+branch is usually cheaper than making an indirect function call,
  so avoid making them.
- When parking an LWP on a condition variable, point the hint argument at
  the mutex's waiters queue. Chances are we will be awoken from that later.


To generate a diff of this commit:
cvs rdiff -r1.67 -r1.68 src/lib/libpthread/pthread.c
cvs rdiff -r1.11 -r1.12 src/lib/libpthread/pthread_barrier.c
cvs rdiff -r1.29 -r1.30 src/lib/libpthread/pthread_cond.c
cvs rdiff -r1.40 -r1.41 src/lib/libpthread/pthread_int.h
cvs rdiff -r1.19 -r1.20 src/lib/libpthread/pthread_lock.c
cvs rdiff -r1.27 -r1.28 src/lib/libpthread/pthread_mutex.c
cvs rdiff -r1.17 -r1.18 src/lib/libpthread/pthread_rwlock.c
cvs rdiff -r1.13 -r1.14 src/lib/libpthread/sem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index