summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEthan Lee <flibitijibibo@flibitijibibo.com>2016-09-30 09:26:57 -0400
committerEthan Lee <flibitijibibo@flibitijibibo.com>2016-09-30 09:26:57 -0400
commit6323a4520952251ce1d5f162319b24b45161a785 (patch)
tree0becfd3f6a3482ece0cf73a0535c52d00e68cd77 /include
parentc9a67a6cd0ddfc035c0574caace191a7d7f8beb6 (diff)
SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING
Diffstat (limited to 'include')
-rw-r--r--include/SDL_hints.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/SDL_hints.h b/include/SDL_hints.h
index cd5f0c33e2..9c914d0c11 100644
--- a/include/SDL_hints.h
+++ b/include/SDL_hints.h
@@ -689,6 +689,17 @@ extern "C" {
#define SDL_HINT_BMP_SAVE_LEGACY_FORMAT "SDL_BMP_SAVE_LEGACY_FORMAT"
/**
+ * \brief Tell SDL not to name threads on Windows.
+ *
+ * The variable can be set to the following values:
+ * "0" - SDL will raise the 0x406D1388 Exception to name threads.
+ * This is the default behavior of SDL <= 2.0.4. (default)
+ * "1" - SDL will not raise this exception, and threads will be unnamed.
+ * For .NET languages this is required when running under a debugger.
+ */
+#define SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING "SDL_WINDOWS_DISABLE_THREAD_NAMING"
+
+/**
* \brief An enumeration of hint priorities
*/
typedef enum