COM threads

little

Member
Joined
Jun 17, 2004
Messages
5
I have develop a COM application. This COM will be trigger by the MSMQ and thus create thread of it (8 threads). However i got some contants that is same in all of the threads. So how to make all the threads to access the shared constants. I want to do so because every thread will access the database and get some constants. If all the threads access to the database, then this will slow down the processing. I hope to make those initialization at one point so that all the threads can access it. Any advice url is welcome. Thanks in advance.
 
Back
Top