Peter Wemm wrote this message on Mon, Jul 01, 2013 at 08:06 +0000: > Initialize the pthread rwlock. Note that upstream has three > separate locks. The file-local static lock appears intentional.
I believe that when I was tracing the lock issues, that there were some deadlocks that can occur even w/ separate locks. I did post a patch that made the lock a single lock and avoided the issues w/ the lock, but as I didn't have time to test it, never committed it. This definitely needs some real software engineering applied to it, either put this declaration in the respective files (so that if someone uses this is a new file, they won't get burned) and comments around the macros that it isn't a global lock. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"