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:           Tue Nov 13 17:20:10 UTC 2007

Modified Files:
        src/lib/libpthread: Makefile TODO pthread.c pthread_int.h
            pthread_misc.c pthread_mutex2.c pthread_rwlock2.c
        src/lib/libpthread/arch/i386: _context_u.S pthread_md.c pthread_md.h
        src/lib/libpthread/arch/x86_64: _context_u.S pthread_md.h

Log Message:
Mutexes:

- Play scrooge again and chop more cycles off acquire/release.
- Spin while the lock holder is running on another CPU (adaptive mutexes).
- Do non-atomic release.

Threadreg:

- Add the necessary hooks to use a thread register.
- Add the code for i386, using %gs.
- Leave i386 code disabled until xen and COMPAT_NETBSD32 have the changes.


To generate a diff of this commit:
cvs rdiff -r1.45 -r1.46 src/lib/libpthread/Makefile
cvs rdiff -r1.11 -r1.12 src/lib/libpthread/TODO
cvs rdiff -r1.87 -r1.88 src/lib/libpthread/pthread.c
cvs rdiff -r1.60 -r1.61 src/lib/libpthread/pthread_int.h
cvs rdiff -r1.2 -r1.3 src/lib/libpthread/pthread_misc.c
cvs rdiff -r1.10 -r1.11 src/lib/libpthread/pthread_mutex2.c
cvs rdiff -r1.6 -r1.7 src/lib/libpthread/pthread_rwlock2.c
cvs rdiff -r1.6 -r1.7 src/lib/libpthread/arch/i386/_context_u.S
cvs rdiff -r1.3 -r1.4 src/lib/libpthread/arch/i386/pthread_md.c
cvs rdiff -r1.10 -r1.11 src/lib/libpthread/arch/i386/pthread_md.h
cvs rdiff -r1.8 -r1.9 src/lib/libpthread/arch/x86_64/_context_u.S
cvs rdiff -r1.6 -r1.7 src/lib/libpthread/arch/x86_64/pthread_md.h

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