Questions tagged as 'thread'

1
answer

How to get Thread Stack?

I'm trying to create a program to get the thread stack, just like the image, does anyone have any way to get it?     
asked by 20.04.2018 / 00:55
0
answers

Problem with scheduling tasks with Calendar Java

Please help me resolve a code situation, as I can not. I have a class that schedules tasks and it will be a Thread to call another Thread. It reads information from a configuration xml file containing one or more days of the week that will...
asked by 03.03.2018 / 02:00
0
answers

Receiving data from a server in the console

Hello, as I am learning python and I entered this network area and exchange information, I would like to get some questions about the code I created trying to make a console interact with a server. Server Code: import socket import sqlite3...
asked by 20.02.2018 / 05:53
1
answer

Matrix multiplication does not work

I'm trying to use CUDA to perform multiplication of width-matrices. But I'm encountering the following error: I have two square arrays with dimension 2632x2632. When I try to multiply them, the code does not perform multiplication, and the answe...
asked by 15.02.2018 / 21:05
1
answer

Difference between Task and Thread

I need to create a C # executable and I have the doubts: Do with thread or do with task ? In practice is there any difference between using Task and the "traditional" multi-thread ?? Is it true that a task...
asked by 13.04.2016 / 18:57
1
answer

ListView and AniIndicator

If someone can give a help, I have the following problem: I have two components in a form, a ListView and an AniIndicator, I am loading the ListView data into blocks from the database on demand. I would like the AniIndicator to run while loading...
asked by 30.01.2018 / 15:05
1
answer

How do I get to timers that were started by a C #

Hello, I'm trying to understand a situation but until then I could not solve it. Imagine that we have a class X that has a timer that is started by the constructor. Now imagine that this same class is instantiated inside a thread. By doing so...
asked by 20.09.2017 / 02:11
1
answer

Connection only works with manually set values

I have a Socket class that is working normally this way: class Socket(): __ffChatSocket = "" __meuTelefone = "" __WhatsappAPI = "" __dest = () def __init__(self, telefone, WhatsappAPI): ip = str(self.getFileConfigF...
asked by 14.09.2017 / 17:06
0
answers

Writing in TextBox freezes the form

I have a form that has a TextBox and would like to write to it but give a typewriter effect so that the text is not added "dry" completely. I've created a method that gets the text I'd like to add and does the effect as expected. However, the...
asked by 08.09.2017 / 21:45
1
answer

Thread or Asynctask? When and which one should I use?

When is it recommended to use threads ? At what time is it advisable to use AsyncTask ? I would like to know what to use and what time it is needed.     
asked by 08.06.2015 / 17:07