This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is archiving synchronized ?


On Mon, 30 Jan 2006, Daniel Jacobowitz wrote:

If 2 or more processes insert files into the same archive, are the
accesses serialized ? If not, the integrity of the archive file is
suspect. Isn't it so ?

It's your responsibility to lock the archive, in that case.

Thank you. I was just wondering if 'ar' acquires write-lock on the archive file before pushing the file in. From your answer, it doesn't. Thanks once again.


Prasad.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]