21/01/14 18:51, Carl Poirier kirjoitti:
> There are some things in the code that don't like being multithreaded. If I
> parallelize the for loop in RN_DATA::Recalculate( int aNet ), I get a
> segfault.

It probably makes more sense to vectorize the loop than making it
multi-threaded. Then you don't need tricky thread handling, but just
have to make the loop handle data in, say four int32 chunks. Naturally
that needs some more trickery to handle the remainder if division by
four doesn't go even.

-Vesa


_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to