[cvsnt] CVSNT 2.0.6 fails in a batch file
Alexandre Augusto Drummond Barroso
adrummond at bdmg.mg.gov.br
Tue Jul 22 20:37:54 BST 2003
You're right. Maybe Hazan has to keep the sleep command. BTW, does anybody knows if the problema can be solved by creating a file with FILE_SHARE_WRITE attribute?
Zandall.
> -----Original Message-----
> From: John Peacock [mailto:jpeacock at rowman.com]
> Sent: Tuesday, July 22, 2003 4:11 PM
> To: Alexandre Augusto Drummond Barroso
> Cc: George Hazan; cvsnt at cvsnt.org
> Subject: Re: [cvsnt] CVSNT 2.0.6 fails in a batch file
>
>
> Alexandre Augusto Drummond Barroso wrote:
>
> > It seems CMD is spawning processes concurrently so the
> first process locks the file while the following processes fail.
> > So you may use "start /w" before each command to make CMD
> wait the process termination before interpreting next command line.:
>
> This *may* solve the problem, but then again it may not.
> NTFS is very lazy
> about releasing filesystem locks (it's a "performance" hack)
> and it isn't too
> hard to create a race condition where supposedly atomic
> changes are blocked
> because the previous process' locks are not yet released.
>
> John
>
>
More information about the cvsnt
mailing list