# Re: File locking.

Reality is a point of view (gjohnson@season.com)
Wed, 8 Oct 1997 22:34:11 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: George Powers: "DES not available"
- Previous message: =?ISO-8859-1?Q?Manuel_Jes=FAs_=C1lvarez_M=E1rquez?=: "Run the certificates generates with javakey in Navigator and Explorer?"

    Message-Id: <m0xJBEh-0007g0C@dream.season.com>

    Date: Wed, 8 Oct 1997 22:34:11 -0700 (PDT)

    From: gjohnson@season.com (Reality is a point of view)

    To: dennise@mcsdallas.com

    Subject: Re: File locking.

    In-Reply-To: <343B418B.B8E4A9C7@mcsdallas.com>

[note: Cc'd to a few Sun/Javasoft feedback addresses for kicks]

+---- In comp.lang.java.help, you wrote:
| I would like for one execution of my appl'n to "lock" a file such that
| no other appl'ns could write to it until I "unlocked" it or I quit.

Me too. At least advisory locking. Entire files if necessary.

| I have not yet seen any support for such an action.

Me either. At least not from java.*.

| Any help would be appreciated.
+----

As this sort of thing is critical to servers that cooperate
with other processes (I've written things like sendmail
replacements in Java, but I don't want to lose mail so I don't
use them for anything other than testing), there is hope that
someday Sun/Javasoft will spec such things.

    --
    Gary Johnson     gjohnson@season.com
    Privacy on the net is still illegal.

- Next message: George Powers: "DES not available"
- Previous message: =?ISO-8859-1?Q?Manuel_Jes=FAs_=C1lvarez_M=E1rquez?=: "Run the certificates generates with javakey in Navigator and Explorer?"