Questions tagged as 'threadpool'

1
answer

How the node pool works

If, for the time being, my server does not receive many requests or is in development (only receives my test requests), does it make sense to decrease UV_THREADPOOL_SIZE ? If my server is receiving many requests, is there any ga...
asked by 23.06.2018 / 19:15
1
answer

Thread Pool Example in delphi

How do I make a pool of Thread , I need to execute a process that contains several records, but I need to send on demand, send 10 and as I release it, send more ... how can I do it? / p> I've set an example ... unit Unit1; inte...
asked by 13.06.2017 / 14:16
1
answer

Routine included in ThreadPool to run in "background" does not let the application continue running

I have the following code snippet in a method of my ASP.NET MVC application that tries to delete the directories and their files. // efetuo processos de remoção de arquivos do banco de dados await Context.SaveChangesAsync(); var itens = diret...
asked by 06.04.2016 / 18:37
0
answers

Problems with Threads in Windows Form

I'm trying to implement Threads in my algorithm, but when I add and run my software the Windows Form of it hangs and does not take any action, can you see something wrong in the code below? I know there is Async/Await to be...
asked by 12.08.2018 / 06:14
2
answers

Problem with ThreadStatic from C #

I have a system where its authentication holds a token in a ThreadStatic property. It turns out that Monday, he started distributing the tokens incorrectly (after updating the windows server).    I made the application below to test the scena...
asked by 31.10.2018 / 19:22
0
answers

How to keep the context of a List off the Thread

I wanted to load the list on the Thread and then have access to it after the action ends. It has this code but at the end of the thread the list is null; Would anyone have a tip to help me? public class ThreadListarClientes { private...
asked by 02.06.2016 / 20:39