Questions tagged as 'thread'

1
answer

Generate a report using thread in the background

I want to generate a report, but I want the system to be freed for the user to do other activities while the report does not return. For this I am using thread, but when I close the form it is giving error because the thread needs form informati...
asked by 28.07.2015 / 14:17
1
answer

Post method with idhttp without crashing

Hello, I'm going to explain more or less what I want to do, I have some data that needs to be sent by the post method to a server, however whenever I send the "freeza" program, I I have several data daily that need to be sent and in case I would...
asked by 20.04.2015 / 19:09
1
answer

Check C # threads

I'm trying to understand the code below, but to no avail. From what I've researched, GetMaxThreads returns the maximum number of available threads and GetAvailableThreads what it has available. In the case of the output below, is t...
asked by 25.09.2014 / 22:11
1
answer

Thread Problems in Java FX

Good evening, I'm having problems trying to implement a thread to my application, I always get the same error and I do not know how to solve it. When I run the application the first Thread goes into effect, but when it executes the second...
asked by 24.05.2018 / 05:21
1
answer

How to implement a Thread to allow StringGrid fill in Delphi?

I load spreadsheets into a StringGrid and then I insert them into the database, I wanted a thread to allow this to be canceled, ie to cancel the stringGrid fill, the button becomes "Inclinable" as you already know, until the fill is complete.   ...
asked by 01.02.2018 / 00:39
1
answer

How to return integer value in pthread?

How to return an integer value and can show with printf using pthread? Here is an example of the problem: #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <pthread.h> vo...
asked by 31.10.2017 / 16:20
1
answer

Return to main () after using start () method

After running the command gerenciador.start() , my program does not return to the main function, and does not print the finished message. It simply performs the command I have spoken. Does anyone know why this happens? publi...
asked by 12.12.2016 / 00:59
1
answer

Update a textview for a few seconds

I wanted to implement a transition between two Activitys, where the user would see a Progress Bar (already implemented) and a textview where every 2 seconds, a new phrase appears to me, for example: Loading information ... Implementing the...
asked by 28.02.2017 / 20:14
1
answer

Nested for thread conversion

I have the following% nested for that runs the entire length of a bitmap image in C #. I would like to run the second for threads to run parallel. Bitmap alterado = new Bitmap(original.Width, original.Height); //Convertendo para to...
asked by 01.12.2016 / 19:11
1
answer

How to "generate" multiple TCP clients using Threads in the same script?

I wrote the code for a simple TCP client: from socket import * # Configurações de conexão do servidor # O nome do servidor pode ser o endereço de # IP ou o domínio (ola.python.net) serverHost = 'localhost'#ip do servidor serverPort = 50008 #...
asked by 17.08.2016 / 21:31