View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0024079 | Community | [OCCT] OCCT:Data Exchange | public | 2013-07-19 05:23 | 2017-07-24 13:15 |
|
Reporter | thomhong | |
Assigned To | gka | |
Priority | low | Severity | minor | |
Status | assigned | Resolution | open | |
Platform | Windows | OS | VC++ 2010 | OS Version | 64 bit |
Product Version | [OCCT] 6.6.0 | |
Target Version | | Fixed in Version | | |
|
Summary | 0024079: stepread_setinput() opens file with exclusive read lock on Windows |
Description | The function stepread_setinput() in stepread.c uses the C function fopen(). This is a problem for multi-threaded/multi-process applications on Windows, since the fopen() call will fail if another thread is in the process of opening the same file. Changing this call to use _fsopen() or _wfsopen() in Windows will allow multiple threads and processes to read the same STEP file. |
Steps To Reproduce | Have two processes open the same STEP file simultaneously. |
Tags | No tags attached. |
|
Test case number | Not required |
|
Attached Files | |
|