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:           Tue Jan 21 23:29:22 UTC 2003

Modified Files:
        src/lib/libpthread: pthread_specific.c

Log Message:
Don't bother acquiring the tsd_lock and reading the destructor function
if the corresponding TSD entry is empty.

Cuts down lock/unlock pairs for this operation from 256 to the number
of active TSD entries; sicne this is done when every thread exits, it saves
many total lock/unlock pairs.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/lib/libpthread/pthread_specific.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