On 6/21/05, Diogo Saad <[EMAIL PROTECTED]> wrote:
> I need to save some metadata in a xml file ( each user account will have
> a metadata file).
> I will code a mailet to handle this "xml file". Do I have to worry with
> multiple threads trying to write in the same file at the same time? Are
> mailets threadSafe  or do I have to make the "file write " part
> syncronized?

Multiple threads can run on the same mailet.  You do need to synchronize.

-- 
Serge Knystautas
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to