bitcoin/bitcoin — pull request #2828 by CodeShark (2013-07-13 17:08:56+00:00)
Title: Use shared lock for wallet registration functions.

Using a shared lock for wallet registration functions since only functions that modify the setpwalletRegistered container structure itself (and not the contents) need exclusive access.