mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-5205 - MariaDB does not start if more than 128 cpu's are available
- thread_pool_size command line option upper limit increased to 100 000 (same as for max_connections) - thread_pool_size system variable upper limit is maximum of 128 or the value given at command line - thread groups are now allocated dynamically Different limit for command line option and system variable was done to avoid additional mutex for all_groups and threadpool_max_size.
This commit is contained in:
@ -75,6 +75,11 @@ class I_P_List : public C, public I
|
||||
*/
|
||||
public:
|
||||
I_P_List() : I(&m_first), m_first(NULL) {};
|
||||
/*
|
||||
empty() is used in many places in the code instead of a constructor, to
|
||||
initialize a bzero-ed I_P_List instance.
|
||||
*/
|
||||
|
||||
inline void empty() { m_first= NULL; C::reset(); I::set_last(&m_first); }
|
||||
inline bool is_empty() const { return (m_first == NULL); }
|
||||
inline void push_front(T* a)
|
||||
|
Reference in New Issue
Block a user