lzweopard / carve

Automatically exported from code.google.com/p/carve
Other
0 stars 0 forks source link

Thread safety #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Is the carve library thread-safe, that multiple csg operations can be done
parallel?

Original issue reported on code.google.com by dus...@gmail.com on 9 Oct 2009 at 10:10

GoogleCodeExporter commented 8 years ago
I would expect that Carve is not particularly thread-safe at the moment. 
Certainly no explicit attempt is made to 
be thread-safe.

In the simplest possible case, if you have a unique CSG object for each 
operation, and each operation is acting on 
a unique set of Polyhedron objects, then I can't see that there would be 
problems.

Operating on Polyhedron objects simultaneously between threads is likely to be 
problematic because of the 
face/edge/vertex tagging code.

Original comment by tobias.s...@gmail.com on 13 Oct 2009 at 11:43