threadpool
Java: notify main class when all threads in threadpool are finished / same instance of object in different threads
How do I notify my main class which instantiates a ThreadPoolExecutor when all threads within the ThreadPoolExecutor are completed?[详细]
2023-03-21 00:59 分类:问答java - what happens to runnables that hang in threadpoolexecutor?
If a runnable hangs while running in a threadpoolexecutor, is there a way to find out that it has hung and kill the runnable? Will the getActiveCount method consider a runnable that\'s hanging as \"a开[详细]
2023-03-20 21:26 分类:问答C# main thread is blocked by second thread using signaling?
GetFiles creates the second thread which calls CopyFiles, I am just trying to fill the listbox with the file name each time a file is copied, but once code hits line:[详细]
2023-03-20 19:46 分类:问答Using tasks/ ThreadPool on IIS application (asp .net)
We have an asp.net application on an iis 7.we need to c开发者_开发技巧reate an async process to do calculating (using a web service) and not keeping the client waiting, we used ThreadPool to do that ([详细]
2023-03-20 14:44 分类:问答Passing QModelIndex cross Thread queued connection
WMIQuery::wmiquery(WMI::WMITable* table, const QString& query, WMI::ProgressIndicator* progressIndicator)[详细]
2023-03-19 17:28 分类:问答How to get Windows thread pool to call class member function?
I want the Windows thread pool (QueueUserWorkItem()) to call my class\' member functions. Unfortunately this cannot be 开发者_运维技巧done directly by passing a member function pointer as an argument[详细]
2023-03-19 12:18 分类:问答Questions about the ThreadPool
I have a few questions about the ThreadPool. Primarily开发者_如何学JAVA, If I wanted to limit the number of threads in execution asynchronously, what would I change? Secondly, in set maximum and set m[详细]
2023-03-19 11:41 分类:问答ThreadPool.QueueUserWorkItem delegate never gets called
I am using MonoTouch 4.03. I have some code like this: ThreadPool.QueueUserWorkItem (delegate { Debug.WriteLine(\"Making connect request\");[详细]
2023-03-19 01:34 分类:问答How many threads to use?
I know there are some existing questions and they provide a very good gen开发者_如何学Ceral perspective on things.I\'m hoping to get some details on the C#/VB.Net side for the actual implementation (n[详细]
2023-03-18 20:01 分类:问答Difference between Thread and Threadpool
Can any one guide me with example about Thread and ThreadPoo开发者_运维百科l what is difference between them? which is best to use...? what are the drawback on itsSince a thread can only run once, you[详细]
2023-03-18 12:30 分类:问答