[fpc-pascal] How can I write a multithread program as simple as possible?
Géza Kovacs Géza
kg0231 at gmail.com
Tue May 26 18:12:35 CEST 2015
I read the Wiki about this article, it's looks like very complicated for me. :-(
Can anybody show me a very simple example?
Below is a code, i would like to run it multithread both under Windows
n = 999000;
data : array [1..n] of integer;
i, j, t: LongInt;
for i := 1 to n do
for i := 1 to n-1 do
for j:=i+1 to n do
if data[i]<data[j] then
Best regards, G
More information about the fpc-pascal