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