mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027491: GeomAdaptor_Curve Is Not Thread-Safe (Anymore?)
Added hint about BSpline cache and missing thread-safety to adaptor classes.
This commit is contained in:
committed by
bugmaster
parent
a3d2cb2425
commit
34e4e9f26e
@@ -51,6 +51,10 @@ class Geom_BSplineCurve;
|
||||
//! - GeomAdaptor_Curve for a curve from the Geom package
|
||||
//! - Adaptor3d_CurveOnSurface for a curve lying on
|
||||
//! a surface from the Geom package.
|
||||
//!
|
||||
//! Polynomial coefficients of BSpline curves used for their evaluation are
|
||||
//! cached for better performance. Therefore these evaluations are not
|
||||
//! thread-safe and parallel evaluations need to be prevented.
|
||||
class Adaptor3d_Curve
|
||||
{
|
||||
public:
|
||||
|
@@ -61,6 +61,10 @@ class Adaptor3d_HCurve;
|
||||
//! Warning: All the methods are virtual and implemented with a
|
||||
//! raise to allow to redefined only the methods realy
|
||||
//! used.
|
||||
//!
|
||||
//! Polynomial coefficients of BSpline surfaces used for their evaluation are
|
||||
//! cached for better performance. Therefore these evaluations are not
|
||||
//! thread-safe and parallel evaluations need to be prevented.
|
||||
class Adaptor3d_Surface
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user