373
372
if (share->tot_locks == 0)
377
376
{ /* Two threads can't be here */
378
377
share->state.process= share->last_process= share->this_process;
379
378
share->state.unique= info->last_unique= info->this_unique;
380
379
share->state.update_count= info->last_loop= ++info->this_loop;
381
380
if ((error=mi_state_info_write(share->kfile, &share->state, 1)))
387
386
share->changed= 1; /* Mark keyfile changed */