dcsimg
What is meant by Thread Safety?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, January 30, 2006 04:43 AM

What is meant by Thread Safety?
How could we achieve it?

Re: What is meant by Thread Safety?

Posted By:   Edward_Harned  
Posted On:   Monday, January 30, 2006 11:35 AM

Thread safety refers to the simple example of not letting thread "A" step on the work of thread "B".


The way you accomplish this is to have each thread either use synchronization (see the synchronization keyword), use locks (see java.util.concurrent.locks) or use atomic primatives (see java.util concurrent.atomic.)

About | Sitemap | Contact