View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024079 | Community | OCCT:Data Exchange | public | 2013-07-19 05:23 | 2017-07-24 13:15 |
Reporter | thomhong | Assigned To | |||
Priority | low | Severity | minor | ||
Status | assigned | Resolution | open | ||
Platform | Windows | OS | VC++ 2010 | ||
Product Version | 6.6.0 | ||||
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 | ||||