diff options
author | heikki@hundin.mysql.fi <> | 2002-07-16 13:59:24 +0300 |
---|---|---|
committer | heikki@hundin.mysql.fi <> | 2002-07-16 13:59:24 +0300 |
commit | 80e14f5b51c1e50c34c6ea41d02887553474176f (patch) | |
tree | dce15e4c28e05f33cd965262e7d7339b896ccaa5 /innobase/include/os0thread.h | |
parent | dfc866b30e604188df2b4771999bb3c5656f0625 (diff) | |
download | mariadb-git-80e14f5b51c1e50c34c6ea41d02887553474176f.tar.gz |
os0thread.h, srv0srv.c:
Increase max number of waiting threads to 10000 and put diagnostic prints if this value is exceeded
Diffstat (limited to 'innobase/include/os0thread.h')
-rw-r--r-- | innobase/include/os0thread.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/innobase/include/os0thread.h b/innobase/include/os0thread.h index 2e4b6f0f6ee..0d6fa5a8f37 100644 --- a/innobase/include/os0thread.h +++ b/innobase/include/os0thread.h @@ -12,8 +12,10 @@ Created 9/8/1995 Heikki Tuuri #include "univ.i" -/* Maximum number of threads which can be created in the program */ -#define OS_THREAD_MAX_N 1000 +/* Maximum number of threads which can be created in the program; +this is also the size of the wait slot array for MySQL threads which +can wait inside InnoDB */ +#define OS_THREAD_MAX_N 10000 /* Possible fixed priorities for threads */ #define OS_THREAD_PRIORITY_NONE 100 |