[EMAIL PROTECTED] wrote: >aaron 02/04/28 14:35:13 > > Modified: server/mpm/experimental/threadpool threadpool.c > Log: > When we signal a condition variable, we need to own the lock that > is associated with that condition variable. This isn't necessary > for Solaris, but for Posix it is. >
Is it really required for Posix compliance, or just recommended as a standard idiom for guaranteeing that the target thread is actually waiting on the condition variable? I thought it was the latter; if so, in threadpool and leader/follower the lock/unlock/signal idiom should be safe. --Brian