Lock files (was: [antlr-interest] ANTLR 3.0ea1 and ANTLRWorks 1.0ea1 released!)

John D. Mitchell johnm-antlr at non.net
Thu Jun 2 12:55:12 PDT 2005

>>>>> "Terence" == Terence Parr <parrt at cs.usfca.edu> writes:
>>>>>> On Jun 2, 2005, at 12:44 PM, John D. Mitchell wrote:

>> Historically, file locks in Java have pretty much been completely
>> worthless from a portability perspective.  Lots of bug reports, etc.  I
>> haven't bothered to look to see if this is any better with Java v5.0.

>> Is there some reason that you really need to use them?

> Well, not really I guess.  Just trying to be safe as there may be many
> many parsers / antlr instances running all trying to write stats.

So, why are the stats of all of the separate things being written to a
single, contentious file?  Don't you want the information cleanly separated

Hope this helps,

More information about the antlr-interest mailing list