View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023988 | Open CASCADE | OCCT:Foundation Classes | public | 2013-05-23 15:06 | 2014-07-11 19:02 |
Reporter | Assigned To | ||||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.6.0 | ||||
Target Version | 6.7.0 | Fixed in Version | 6.7.0 | ||
Summary | 0023988: Force use of reentrant mode | ||||
Description | It is proposed to get rid of re-entrant mode switching on / off, and keep this mode always on. | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Reentrant mode switch is eliminated. In OCCT: - in package Standard, methods IsReentrant, SetReentrant are removed - allocators in Standard and NCollection are corrected respectively In Products: - Use of IsReentrant, SetReentrant is eliminated Please review branches CR23988 in occt and occt-products. |
|
One remark: in Standard_MMgrOpt and possible other places where Standard_Mutex::Sentry is used with pointer argument (address of the mutex object), it is better to use it with reference argument. It will save one if() in time-critical code |
|
Standard_MMgrOpt.cxx is corrected, please review. |
|
No remarks, please test. Note that after integration of this change we will need to remove references to MMGT_REENTRANT environment variable and Standard::Is/SetReentrant() methods from OCCT documentation |
|
Dear BugMaster, Branch CR23988 was compiled on Linux platform. There are following extraction errors: http://jenkins-test-02.nnov.opencascade.com:8080/user/mnt/my-views/view/CR23988/job/mnt-CR23988-CR23988_prepare_occt_linux/1/parsed_console/? |
|
Dear BugMaster, Branch CR23988 was recompiled on Linux platform. Extraction step is good now. Branch CR23988 will be compiled and tested now. |
|
Dear BugMaster, Branch CR23988 from occt-repository and CR23988 from products-repository was compiled on Linux and Windows platforms. There are following compilation errors on Windows platform: http://jenkins-test-02.nnov.opencascade.com:8080/user/mnt/my-views/view/CR23988/job/mnt-CR23988-CR23988_build_occt_products_windows/1/console 19>..\..\..\src\ColDetectionTest\ColDetectionTest.cxx(99) : error C2039: 'IsReentrant' : is not a member of 'Standard' 19> d:\builds\vc9\CR23988-CR23988-products\..\CR23988-CR23988-occt\inc\Standard.hxx(40) : see declaration of 'Standard' 19>..\..\..\src\ColDetectionTest\ColDetectionTest.cxx(99) : error C3861: 'IsReentrant': identifier not found 19>..\..\..\src\ColDetectionTest\ColDetectionTest.cxx(100) : error C2039: 'SetReentrant' : is not a member of 'Standard' 19> d:\builds\vc9\CR23988-CR23988-products\..\CR23988-CR23988-occt\inc\Standard.hxx(40) : see declaration of 'Standard' 19>..\..\..\src\ColDetectionTest\ColDetectionTest.cxx(100) : error C3861: 'SetReentrant': identifier not found 19>..\..\..\src\ColDetectionTest\ColDetectionTest.cxx(102) : error C2039: 'SetReentrant' : is not a member of 'Standard' 19> d:\builds\vc9\CR23988-CR23988-products\..\CR23988-CR23988-occt\inc\Standard.hxx(40) : see declaration of 'Standard' 19>..\..\..\src\ColDetectionTest\ColDetectionTest.cxx(102) : error C3861: 'SetReentrant': identifier not found |
|
Products branch CR23988 updated, please test. |
|
Dear BugMaster, Branch CR23988 from occt-GIT repository SHA-1: a8cfe17bac5e3f35849724440e041b8e1c8e0f36 and branch CR23988 from products-GIT repository SHA-1: 3094b9024ff66e0682c70cd2ce16feefad0c070e was compiled on Linux and Windows platforms and tested. Number of compiler warnings: occt component : Linux: 2 (2 on master) Windows: 7 (7 on master) products component : Linux: 0 (0 on master) Windows: 63 (63 on master) Regressions: No regressions Improvements: No improvements Testing cases: Not needed Testing on Linux: Total MEMORY difference: 366175964 / 366237452 Total CPU difference: 54117.15000000005 / 41752.17000000117 Testing on Windows: Total MEMORY difference: 421207700 / 422631092 Total CPU difference: 41430.09375 / 40943.921875 There are not differences in images found by testdiff. |
occt: master bd0c22ce 2013-05-24 05:26:45
|
0023988: Force use of reentrant mode Reentrant mode switch is eliminated |
Affected Issues 0023988 |
|
mod - src/IGESControl/IGESControl_Reader.cxx | Diff File | ||
mod - src/MeshTest/MeshTest.cxx | Diff File | ||
mod - src/MeshTest/MeshTest_PluginCommands.cxx | Diff File | ||
mod - src/NCollection/NCollection_BaseAllocator.cxx | Diff File | ||
mod - src/NCollection/NCollection_IncAllocator.cxx | Diff File | ||
mod - src/Standard/Standard.cdl | Diff File | ||
mod - src/Standard/Standard.cxx | Diff File | ||
mod - src/Standard/Standard_ErrorHandler.cxx | Diff File | ||
mod - src/Standard/Standard_MMgrOpt.cxx | Diff File | ||
mod - src/Standard/Standard_MMgrOpt.hxx | Diff File | ||
mod - src/Standard/Standard_MMgrRoot.cxx | Diff File | ||
mod - src/Standard/Standard_MMgrRoot.hxx | Diff File | ||
mod - src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-05-23 15:06 |
|
New Issue | |
2013-05-23 15:06 |
|
Assigned To | => abv |
2013-05-24 10:03 |
|
Note Added: 0024504 | |
2013-05-24 10:03 |
|
Status | new => resolved |
2013-05-24 12:37 | kgv | Relationship added | related to 0022627 |
2013-05-30 07:08 |
|
Note Added: 0024555 | |
2013-05-30 07:08 |
|
Assigned To | abv => szv |
2013-05-30 07:08 |
|
Status | resolved => assigned |
2013-05-30 11:56 |
|
Note Added: 0024564 | |
2013-05-30 11:56 |
|
Assigned To | szv => abv |
2013-05-30 11:56 |
|
Status | assigned => resolved |
2013-05-30 12:17 |
|
Note Added: 0024565 | |
2013-05-30 12:17 |
|
Assigned To | abv => bugmaster |
2013-05-30 12:17 |
|
Status | resolved => reviewed |
2013-05-30 15:01 | bugmaster | Assigned To | bugmaster => mkv |
2013-05-31 10:57 |
|
Note Added: 0024577 | |
2013-05-31 11:01 |
|
Test case number | => Not needed |
2013-05-31 11:01 |
|
Assigned To | mkv => szv |
2013-05-31 11:01 |
|
Status | reviewed => assigned |
2013-05-31 12:14 |
|
Note Added: 0024578 | |
2013-05-31 12:14 |
|
Assigned To | szv => mkv |
2013-05-31 12:14 |
|
Status | assigned => resolved |
2013-05-31 12:14 |
|
Status | resolved => reviewed |
2013-06-04 08:40 |
|
Note Added: 0024621 | |
2013-06-04 08:40 |
|
Assigned To | mkv => abv |
2013-06-04 08:40 |
|
Status | reviewed => assigned |
2013-06-04 08:41 |
|
Assigned To | abv => szv |
2013-06-04 11:14 |
|
Status | assigned => resolved |
2013-06-04 11:14 |
|
Note Added: 0024623 | |
2013-06-04 11:14 |
|
Assigned To | szv => mkv |
2013-06-04 11:14 |
|
Status | resolved => reviewed |
2013-06-05 12:38 |
|
Note Added: 0024632 | |
2013-06-05 12:39 |
|
Assigned To | mkv => bugmaster |
2013-06-05 12:39 |
|
Status | reviewed => tested |
2013-06-10 10:30 |
|
Changeset attached | => occt master bd0c22ce |
2013-06-10 10:30 |
|
Assigned To | bugmaster => szv |
2013-06-10 10:30 |
|
Status | tested => verified |
2013-06-10 10:30 |
|
Resolution | open => fixed |
2013-12-19 13:53 | bugmaster | Status | verified => closed |
2013-12-19 13:55 | bugmaster | Fixed in Version | => 6.7.0 |
2014-07-11 19:02 | Timo | Relationship added | related to 0025072 |