A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Threads and Synchronization
Joined: Nov 03, 2003
Nov 05, 2003 00:35:00
I am new to
plz tell me what a "thread-safe" program means.
Joined: Sep 20, 2003
Nov 05, 2003 03:12:00
In simple words a thresd safe class or object means there is only one thread inside a object at a given point in a time.
author and iconoclast
Joined: Jul 08, 2003
Nov 05, 2003 05:32:00
No, not really, that isn't what it means.
"Thread-safe" means quite the opposite, really: it means that multiple threads can access a single resource simultaneously without harm.
[Jess in Action]
I agree. Here's the link:
abt Thread Safe
Difference B/w ArrayList & Vector
How can we count the number of objects created per class using Java1.5 API?
Passes SCJP 1.4 with 93%
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015