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