Matrex multithreading

The parameter of the functions (formula) in Matrex are whole rectangular blocks of data, called matrices, not cells like in spreadsheets.
This has several implications; among them the fact that functions can be easily calculated in parallel, using multithreading.

When the system is configured to allow multithreading (this depends by the project and machine settings), at any time each function calculation is done in a different thread.
The following picture shows a case of multithreading in Matrex: the GUI works in parallel as 4 functions, running in 3 separate threads:

Multithread

Threads are extracted from a pool of threads, so it is garanteed that:
The benefits of having multiple threads are the following:
For who is scared of deadlocks, we can say that they are not possible in Matrex.
In fact, there is no circularity: a matrix can be a result value of only one function, and it cannot be parameter to the same function, directly or indirectly.
No circularity, no deadlock.