Questions tagged as 'thread'

1
answer

How to make server threads in Python?

Hello, I'm a beginner in Python and I'm creating a simple server but I can not create independent threads. When the client connects to the server it calls the worker function that waits for a client message to send a response. It turns out that...
asked by 04.11.2018 / 22:53
0
answers

Multiple queries in parallel with PHP in API

Good morning. I am creating a script that queries an API. As the data inside the API became larger the requests needed to be split then for a query sometimes I have to query the API 4 or 5 times. I got in touch with the API support I use and was...
asked by 31.10.2018 / 13:56
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

Continuous Thread

Is it possible to create continuous threads? I have 5 messages that will be generated shortly after I click the button, they are generated at once. I want instead of being generated at once, it takes 5 seconds to generate each, but continuously....
asked by 20.10.2018 / 04:36
1
answer

use handle in textView [closed]

I'm creating a chatbot and I want it when I send something, it appears in a textview the message 'thinking ...' for 5 seconds before sending the answer, I've already studied Handler, but so far I have not had any idea how do that, anybody have a...
asked by 17.10.2018 / 23:00
1
answer

Parallel Execution

I have a process that is running in my application for control. This process runs within a timer. private void timer1_Tick(object sender, EventArgs e) { // bloco de instruções 1 // bloco de instruções 2 } What happens is that proce...
asked by 10.10.2018 / 20:41
0
answers

How to create a Thread in Spring Boot?

I'm starting a file upload file application, where it writes the path in the database and the image on the server, when carrying out a test I can send the image to the folder, now I need to be able to create the temporary location when I submit...
asked by 05.10.2018 / 12:34
0
answers

ObtainMessage does not call Handler

I'm doing a communication between arduino and android, the android already manages to send command to the arduino quietly, however now I want to read commands received from arduino. I managed to make it work however with a class that extends thr...
asked by 28.09.2018 / 23:36
1
answer

How to make the application wait for a while?

It is common to have situations that we need to delay the execution of the code for a period, either to show or delete a message or something visual soon after, either to try something again, wait for something in a test or something creative th...
asked by 09.09.2015 / 16:55
0
answers

Thread C # Antivirus warning

Good morning everyone, I am starting to implement threads in a program created in VisualStudio (windows form) and whenever I start my program the antivirus is activated putting my program in the quarantine. I'm going to post leave my code here t...
asked by 28.09.2018 / 15:19