Browse Source

ckdb - must remember to unlock locks ...

master
kanoi 10 years ago
parent
commit
e5db7d222e
  1. 2
      src/ckdb.h
  2. 2
      src/ckdb_data.c

2
src/ckdb.h

@ -55,7 +55,7 @@
#define DB_VLOCK "1" #define DB_VLOCK "1"
#define DB_VERSION "1.0.0" #define DB_VERSION "1.0.0"
#define CKDB_VERSION DB_VERSION"-1.093" #define CKDB_VERSION DB_VERSION"-1.094"
#define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL " - from %s %s() line %d"
#define WHERE_FFL_HERE __FILE__, __func__, __LINE__ #define WHERE_FFL_HERE __FILE__, __func__, __LINE__

2
src/ckdb_data.c

@ -990,7 +990,7 @@ void _workerstatus_update(AUTHS *auths, SHARES *shares,
row->sharerej++; row->sharerej++;
break; break;
} }
K_WLOCK(workerstatus_free); K_WUNLOCK(workerstatus_free);
} }
} }

Loading…
Cancel
Save