P
PGP
Hello,
I am trying to use the threadpool for database worker threads and since i
run into database connection limits, i decided to limit the thread pool
threads to a small number. I started out with 5 so i have couple of threads
for book keeping and the remaining (3) threads for database work. I do queue
more than 3 work items though. What i am seeing in this restricted setup is
that once the 3 database threads are engaged, the threading deadlocks
somehow.
Now i look back to threadpool's documentation and find that the threadpool
is also used by timers on wait operations. I know there is minimal details
here, but before i go into details does this setup raise some warning flags
in your minds?
TIA
Priyesh
I am trying to use the threadpool for database worker threads and since i
run into database connection limits, i decided to limit the thread pool
threads to a small number. I started out with 5 so i have couple of threads
for book keeping and the remaining (3) threads for database work. I do queue
more than 3 work items though. What i am seeing in this restricted setup is
that once the 3 database threads are engaged, the threading deadlocks
somehow.
Now i look back to threadpool's documentation and find that the threadpool
is also used by timers on wait operations. I know there is minimal details
here, but before i go into details does this setup raise some warning flags
in your minds?
TIA
Priyesh