The study of distributed computing algorithms by multithread applications