DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0031977

Modeling Algorithms - useless static variable in BRepFill_OffsetWire::Init() preventing its parallel usage

CommunityOCCT:Modeling Algorithmsclosed5 public notes

Search issues

Description

The problem is reported by EugeneZ at

https://dev.opencascade.org/index.php?q=node/1313

Looks like bug in BRepFill_OffsetWire:
static BRepMAT2d_Explorer Exp;
Exp.Perform(mySpine);

The "static" doesn't allow to use it in parallel threads.

Steps to reproduce

N/A

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 3
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Sun Dec 6 19:20:47 2020 +0300

    0031977: Modeling Algorithms - useless static variable in BRepFill_OffsetWire::Init() preventing its parallel usage
    
    Removed useless "static" before local variable and some commented code
02Commenter 2
Fix pushed to branch CR31977, please review. Jenkins tests are OK, see job CR31977-abv
03Commenter 3
For integration:
occt - CR31977
products - none
04Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17756.510000000126 / 18090.92999999998 [-1.85%]
Products
Total CPU difference: 12330.210000000125 / 12342.950000000128 [-0.10%]
Windows-64-VC14:
OCCT
Total CPU difference: 19429.09375 / 19751.71875 [-1.63%]
Products
Total CPU difference: 13755.5 / 13772.515625 [-0.12%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
05Commenter 3
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records