Threadsafe programming
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Lakshmi_Raghavan
Posted On:   Wednesday, April 4, 2001 12:24 PM

Threadsafe programming And static variables

Re: Threadsafe programming

Posted By:   Michael_Wax  
Posted On:   Wednesday, April 4, 2001 12:37 PM

Barebones question, but:

Use synchronized accessors (get, set) to the static variables, and only read/change these variables using the accessors (i.e., don't read them directly).
About | Sitemap | Contact