PRLock with 2 conditional variables

"[email protected]" <[email protected]> Mon, 10 Nov 2008 06:27:33 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.nspr
Organization http://groups.google.com
Message-ID <b06bcbb3-d868-4566-b4b1-0c5caccefc44@a26g2000prf.googlegroups.com>
Hi,

is using single PRLock with 2 conditional variables to selectively
wake up different threads works and faster than using 2 locks with one
conditional per lock?

Regards, Igor