🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17305

Re: How thread-safe is a Vector?

#17305
From: mariano podesta
Date: Sat, 28 Nov 1998 00:00
6 lines
719 bytes
try using:
synchronized (yourVector)
on other thread's access to Vector.
i don't think that the thread was killed!
clone is not necesary at all.
good luck!
Technical Details
Message-ID: <365F8169.24AA33DF@usa.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <365D4BD5.1AC0@cwcom.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,51f3325897926eb9
X-Google-Attributes: gidf74b3,public
From: mariano podesta <marianopodesta@usa.net>
Subject: Re: How thread-safe is a Vector?
Date: 1998/11/28
Message-ID: <365F8169.24AA33DF@usa.net>
X-Deja-AN: 416408269
Content-Transfer-Encoding: 7bit
References: <365D4BD5.1AC0@cwcom.co.uk>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language