From Wikipedia
The study focused on solving the problem of a minimum spanning tree with a high degree of parallelization. With a linear number of processors, you can solve the problem in O (logn). The 2003 article, βFast Shared Memory Algorithms for Computing the Minimal Formwork Forest of Rare Graphics,β by David A. Bader and Guojing Kong, demonstrates a pragmatic algorithm that can calculate MSTs 5 times faster on 8 processors than an optimized sequential algorithm. [9] As a rule, parallel algorithms based on the Boruwka β Prim algorithm and especially the Kruskal algorithm do not scale processors as well.
So, you can take a look at the algorithm mentioned in this article, but Kruskal probably won't benefit from multiple threads.
source share