By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,807 Members | 1,492 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,807 IT Pros & Developers. It's quick & easy.

Stability of Threads

P: n/a
I am a newbie Java programmer and am just learning about threads. A
colleague if mine once told me that 'threads were unsafe'. I didn't
bother to ask him why because at the time I didn't know what threads
were! Do threads in Java pose any risks? Is there any validity to his
statement? Why?

Thanks much,
Dan
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Java has a very powerful and robust threading model, Dan. I think your
friend was referring to the ways the multiple threads can access
objects/data during application runtime. To be a credible Java programmer
using threads, you need to understand the concept of syncronization and why
it is used. The Java site has a pretty good tutorial on Threads and their
life-cycle. I would suggest reading up on the topic, that's how I learned
about it. ;)

-John

"newcastle" <da*@nospam.nospam> wrote in message
news:mjKac.32825$wl1.17183@fed1read06...
I am a newbie Java programmer and am just learning about threads. A
colleague if mine once told me that 'threads were unsafe'. I didn't
bother to ask him why because at the time I didn't know what threads
were! Do threads in Java pose any risks? Is there any validity to his
statement? Why?

Thanks much,
Dan

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.