threadpool
Python Socket and Thread pooling, how to get more performance?
I am trying to implement a basic lib to issue HTTP GET requests. My target is to receive data through socket connections - minimalistic design to improve performance - usage with threads, thread pool([详细]
2023-03-18 11:31 分类:问答Executing method by timer inside threadpool
In my multi threaded web app I invoke in the ThreadPool SomeMethod which can throw an exception. Suppose I want to make a few at开发者_StackOverflowtempts if it causes an exception at first call. I de[详细]
2023-03-18 09:14 分类:问答How can I shutdown Spring task executor/scheduler pools before all other beans in the web app are destroyed?
In a Spring web application I have several DAO and service layer beans. One service layer bean has annotated @Async / @Scheduled methods. These methods depend on other (autowired) beans.[详细]
2023-03-18 07:40 分类:问答java parallelisation problem - parallelisation is as slow as serialisation
I have been developing an individual base model. All you need to know is that individuals are born, reproduce and die. I have a GUI in which i can see these processes happening.[详细]
2023-03-17 23:10 分类:问答wait for a process to finish inside an ThreadPool.UnsafeQueueUserWorkItem() function
Im doing a web application that will play a media. I have a class A that contains a method ,say MyMethod:[详细]
2023-03-17 04:16 分类:问答Difference between User Defined Thread and System Thread (For Sleep Method)
Here is the sample which i was working Thread[] TCreate = new Thread[sexDataSize]; for(int i=0;i<sexData.size();i++)[详细]
2023-03-17 03:25 分类:问答Python multiprocessing pool inside daemon process
I opened up a question for this problem and did not get a thorough enough answer to solve the issue (most likely due to a lack of rigor in explaining my issues which is what I am attempting to correct[详细]
2023-03-16 06:25 分类:问答Why does a ScheduledExecutorService not run a task again after an exception is thrown?
For executing periodical tasks, I looked at Timer and ScheduledThreadPoolExecutor (with a single thread) and decided to use the latter, because in the reference for Executors.newSingleThreadScheduledE[详细]
2023-03-15 21:50 分类:问答Hardware threads (logical cores) on Hyper threaded CPUs + scheduler
I know that software threads get a certain bit of time to execute and each software thread takes turns executing for that block of time but they are not executing at the same time (on a single hardwar[详细]
2023-03-15 11:20 分类:问答C# SeviceSecurityContext.Current is not preseved QueueUserWorkItem
When delegating a thread using ThreadPool.QueueuserWorkItem the ServiceSecurityContext.Current does not persist (returns null).Several of the methods I am calling require that the security context be[详细]
2023-03-14 17:17 分类:问答