N
nullstring
Hello together (at such a sunny day
I have a question about multithreading!
I want to make a variable count of threads using an (self-implemented)
dbhander-class.
But I don't want to work with 'synchronized', because of the
performance...
So, when I add a new jdbc-connection in a vector for every new thread,
and all threads work with its own connection, but in the same vector!
Do I have problems with synchronizing?
If I work with the same connection from different threads, YES! (<- I
think)
But only with the same vector????
thanks in advance....
Nullstring
I have a question about multithreading!
I want to make a variable count of threads using an (self-implemented)
dbhander-class.
But I don't want to work with 'synchronized', because of the
performance...
So, when I add a new jdbc-connection in a vector for every new thread,
and all threads work with its own connection, but in the same vector!
Do I have problems with synchronizing?
If I work with the same connection from different threads, YES! (<- I
think)
But only with the same vector????
thanks in advance....
Nullstring