Click to See Complete Forum and Search --> : Multithreaded access to an object


skibbs
September 23rd, 2002, 04:59 PM
Hi,
I am writing an app that has a database class, this class reads data from a database and I need to make it available to multiple threads that will run processes based on the data. The threads will only need to retrieve data( Strings and ints ) and increment ints in the database class. Will I need to synchronize thread access to retrieve data, if the data is not changing? I can increment ints without any problems right? Switching over from java and just wanted to verify this before I start coding.
Thank You,
Matt