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