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: Thu Sep 13 23:51:47 UTC 2007
Modified Files:
src/lib/libpthread: pthread_cond.c pthread_int.h pthread_mutex.c
pthread_mutex2.c
Log Message:
Add a per-mutex deferred wakeup flag so that threads doing something like
the following do not wake other threads early:
pthread_mutex_lock(&mutex);
pthread_cond_broadcast(&cond);
foo = malloc(100); /* takes libc mutexes */
pthread_mutex_unlock(&mutex);
To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 src/lib/libpthread/pthread_cond.c
cvs rdiff -r1.54 -r1.55 src/lib/libpthread/pthread_int.h
cvs rdiff -r1.35 -r1.36 src/lib/libpthread/pthread_mutex.c
cvs rdiff -r1.6 -r1.7 src/lib/libpthread/pthread_mutex2.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