[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: race condition



On 5 October 2013 22:30, Russ Allbery <rra@debian.org> wrote:
>
>> What would be the standard way to lock the scorefile?
>
> fcntl(fd, F_SETLK).  See fcntl(2).
>
> --
> Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Thanks Russ, I'll take a "lock" at it. :)

Cheers,
Beco.


-- 
Dr Beco
A.I. researcher

"Sometimes the heart sees what is invisible to the eye." (H. Jackson Brown Jr.)


Reply to: