diff options
| author | Marc Sunet <marc.sunet@amd.com> | 2025-11-18 18:50:03 -0800 |
|---|---|---|
| committer | Marc Sunet <marc.sunet@amd.com> | 2025-11-18 18:50:03 -0800 |
| commit | b1fbff0da622160a2334a59de7f9090fecb5dad6 (patch) | |
| tree | 61557d59376d5d4c6f66dd5b498311571f806cba /dxcommon/include/dxcommon.h | |
| parent | ed86aad6d36294e219bc7ffa1f14d2e39fad7ade (diff) | |
Thread-local exception error buffer
Diffstat (limited to 'dxcommon/include/dxcommon.h')
| -rw-r--r-- | dxcommon/include/dxcommon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dxcommon/include/dxcommon.h b/dxcommon/include/dxcommon.h index e04f8e9..35ec0e2 100644 --- a/dxcommon/include/dxcommon.h +++ b/dxcommon/include/dxcommon.h | |||
| @@ -32,7 +32,7 @@ public: | |||
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | private: | 34 | private: |
| 35 | static char m_error[1024]; | 35 | static thread_local char m_error[1024]; |
| 36 | }; | 36 | }; |
| 37 | 37 | ||
| 38 | #define THROW(error) throw exception(error, __FILE__, __LINE__) | 38 | #define THROW(error) throw exception(error, __FILE__, __LINE__) |
