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:   nathanw
Date:           Wed Apr 16 18:30:44 UTC 2003

Modified Files:
        src/lib/libpthread: pthread_cond.c pthread_mutex.c

Log Message:
When a thread sleeps on a mutex or cv, have it put itself on the
front of the sleep queue rather than the back. This is more
cache-friendly behavior and within the (lack of) constraints on wakeup
ordering imposed on equal-priority threads.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/lib/libpthread/pthread_cond.c
cvs rdiff -r1.10 -r1.11 src/lib/libpthread/pthread_mutex.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