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