Questions tagged as 'multithreading'

2
answers

How to manage threads in C #?

I'm developing a project and I think I'll need multithreading . While starting a new thread does not seem difficult, I can not seem to figure out if I have to finish the thread or it ends alone. My application will, at certain times,...
asked by 01.02.2018 / 10:18
1
answer

Global control for ExecutorService

Rodo software locally in Java SE, basically it is the synoptic of a field equipment, and can be controlled by this software. The user has several functions within it, being able to call, change status, settings, etc. Each function is performe...
asked by 15.05.2017 / 13:40
1
answer

Laravel 4.2 - Working with asynchronous tasks to generate reports .xlsx

Hello, I am working with an application in Laravel 4.2 and it requires that when the user requests to generate a system report, a task is launched to generate the report, when this report is ready in a folder, I need to send an email to the user...
asked by 23.11.2016 / 21:02
1
answer

Is reading files in Python updated in real time?

I'm developing an application where I'll create a multithreading that will read a .json file and based on a key of this file ( status: 'pending' or status: 'completed' ) I'm going to perform an action or not. The idea is t...
asked by 10.02.2016 / 12:36
2
answers

Multithread and Data Competition + Spring

I am rewriting software that serves as a bridge between two services. Communication is done via sockets. The environment it has high data competition, especially a list with active sockets. The software has some problems because this competition...
asked by 28.11.2018 / 11:58
1
answer

Using threads in classes

Hello, I have a problem with using threads. Since I use mingw to compile my projects, and this header is not implemented, I use this header to compile my projects. However, I'm having some difficulties regarding the use of thread...
asked by 13.07.2018 / 11:52
1
answer

Access variable through exec

I was trying to create a shell to be able to communicate with a program in python during its execution, so far I have the following (this code is just an example): import sys, pygame from threading import Thread import math pygame.init() # I...
asked by 12.02.2018 / 13:12
1
answer

How to retrieve the return of a function that was executed inside a Thread in Python3?

I need to run a function through a Thread only so I'm not sure how to retrieve the return from this function. Here's an example of how I want to do it: from threading import Thread import time def teste_thread(): for k in range(5): prin...
asked by 26.02.2018 / 22:21
1
answer

Multiprocessor execution

I'm researching about parallel execution in Python and I was left with a question that I have not found a clear answer yet. Let's say I want to multiply two arrays and add in a task list where each task is a row of array A and a column of arr...
asked by 03.11.2017 / 13:52
1
answer

Force execution order Swift 3 / Xcode 8 - Threads

Hello, I'm new to swift and this week I came across a problem that is already making me pull out my hair! What happens is the following, divided in my application in several classes to leave my code more "straightened" and in this wave I decided...
asked by 07.02.2017 / 22:06