PRLock with 2 conditional variables
| 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