Questions tagged as 'paralelismo'

1
answer

How to ensure all threads are executed?

How can I ensure that the Get method of a FutureTask will only be called when all threads have already executed? I have this method: for (int j = 0; j < threadNum; j++) { FutureTask<Integer> futureTask = taskList.get(j);...
asked by 20.01.2015 / 16:18
1
answer

Stop a worker and continue the parallel pool in matlab

I have a code with a simple parfor in matlab that calls the workers. parfor valor= 1:fim [output, out] = Computacao(dado1, dado2, int32(valor)); end In the function that is called I have an if for a condition in which if I f...
asked by 25.05.2018 / 01:58
1
answer

Parallel Computing - communication between threads

This is a question that came up when I was trying to solve a problem on a client, the problem turned out to be something else but the doubt continued. Imagine a situation where there are two programs, prog1 and prog2 , where a dll is...
asked by 09.08.2017 / 10:56