Article View: borland.public.jbuilder.java.language
Article #17167Re: FileWriter synchronization
From: Steve Waters
Date: Tue, 08 Dec 1998 00:00
Date: Tue, 08 Dec 1998 00:00
19 lines
1173 bytes
1173 bytes
you give the answer away in the subject heading... Steve Michael Andres <andr0023@tc.umn.edu> wrote in message 36643B9A.35336197@tc.umn.edu... >HI, > > A java question: Consider a static File object that many different >threaded objects have access to. Now if I set up a FileWriter on this >file in one of the objects, does it necessarily prevent any other thread >in another object from obtaining a FileWriter on this same file until >the first thread releases it's FileWriter? I tested this with a few >cases and it appears to be true, but I cannot find any documentation >stating this is how it works. > >Any help is appreciated. >Mike Andres >
Technical Details
Message-ID:
<74jed2$a1t1@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36643B9A.35336197@tc.umn.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,5372dfc83620ab5e X-Google-Attributes: gidf74b3,public From: "Steve Waters" <steve_w@bellsouth.net> Subject: Re: FileWriter synchronization Date: 1998/12/08 Message-ID: <74jed2$a1t1@forums.borland.com> X-Deja-AN: 420065213 References: <36643B9A.35336197@tc.umn.edu> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0518.4 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language