Top "Threadpool" questions

Pooling resources in given limits and automatically assign task to open workers.

Is it really my job to clean up ThreadLocal resources when classes have been exposed to a thread pool?

My use of ThreadLocal In my Java classes, I sometimes make use of a ThreadLocal mainly as a means of …

java concurrency threadpool thread-local
Difference between delegate.BeginInvoke and using ThreadPool threads in C#

In C# is there any difference between using a delegate to do some work asynchronously (calling BeginInvoke()) and using a …

c# multithreading threadpool
Why we need a connection pooling for JDBC?

What are the benefits of using a JDBC connection pooling tool like DBCP or c3p0 ? in case of a …

java jdbc threadpool connection-pooling h2
What is the async/await equivalent of a ThreadPool server?

I am working on a tcp server that looks something like this using synchronous apis and the thread pool: TcpListener …

c# threadpool async-await tcplistener
Python 3: does Pool keep the original order of data passed to map?

I have written a little script to distribute workload between 4 threads and to test whether the results stay ordered (in …

python multithreading python-3.x multiprocessing threadpool
Java set a callback from ExecutorService

I have a fixedThreadPool that I am using to run a bunch of worker threads to achieve parallel execution of …

java multithreading callback threadpool executorservice
What is the difference between SynchronizationContext.Send and SynchronizationContext.Post?

Thanks to Jeremy Miller's good work in Functional Programming For Everyday .NET Development, I have a working command executor that …

c# multithreading threadpool conceptual synchronizationcontext
Analysis of 90% threads in java.lang.Thread.State: WAITING (parking)

Thread count in my tomcat application server is growing every day. When I have taken thread dump for analysis. I …

java multithreading threadpool thread-dump
DEADLOCK with C3P0 on java se application

I encountered a critical problem with the c3p0 library (version 0.9.5.2) that I use in my Java SE application. My …

java sql-server multithreading threadpool c3p0
What happens when WebContainer thread pool (WebSphere) is fully used and new request is received?

Got question about WebSphere and cannot find anything in the documentation... What happens when WebContainer thread pool is fully used …

java web-applications websphere threadpool web-container