rsrv: clarify bucketID locking
Make clear that bucketID is guarded by clientQlock
This commit is contained in:
1 parent
5eaa984c0c
commit
28d5406385
1 file changed
+1
-1
@@ -972,7 +972,6 @@ struct dbChannel *dbch,
|
||||
unsigned cid
|
||||
)
|
||||
{
|
||||
static unsigned bucketID;
|
||||
unsigned *pCID;
|
||||
struct channel_in_use *pchannel;
|
||||
int status;
|
||||
@@ -1005,6 +1004,7 @@ unsigned cid
|
||||
LOCK_CLIENTQ;
|
||||
|
||||
do {
|
||||
static unsigned bucketID;
|
||||
/*
|
||||
* bypass read only warning
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user