Files
OCCT/tests/bugs/fclasses
Kirill Gavrilov 078dfc44ae Foundation Classes, Standard_ErrorHandler - use thread_local stack instead of global mutex lock (#980)
Refactored Standard_ErrorHandler to use thread_local storage for the error handler stack
instead of a global list protected by mutex. This eliminates locking overhead entirely
since each thread only accesses its own error handlers.

Changes:
- Replaced global mutex-protected stack with thread_local Top pointer
- Simplified FindHandler() to directly return the thread-local Top
- Removed Catches() and LastCaughtError() methods (no longer needed)
- Added Raise() method for re-throwing caught exceptions
- Removed obsolete member variables: myStatus, myThread
- Deleted unused headers: Standard_HandlerStatus.hxx, Standard_JmpBuf.hxx, Standard_PErrorHandler.hxx
- Updated OCC_CATCH_SIGNALS macro to use new Raise() method
2026-01-05 17:03:00 +00:00
..
2012-12-07 16:29:17 +04:00
2012-12-21 16:39:38 +04:00
2017-11-02 17:02:45 +03:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2012-12-21 16:39:38 +04:00
2012-12-28 18:50:48 +04:00