1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Initial threadpool implementation for MariaDB 5.5

This commit is contained in:
Vladislav Vaintroub
2011-12-08 19:17:49 +01:00
parent 5e7b949e61
commit e91bbca5fb
24 changed files with 2553 additions and 190 deletions

View File

@ -2339,6 +2339,10 @@ public:
{
mysql_mutex_lock(&LOCK_thd_data);
active_vio = vio;
#ifdef _WIN32
/* Required to support cancelation on XP */
active_vio->thread_id = pthread_self();
#endif
mysql_mutex_unlock(&LOCK_thd_data);
}
inline void clear_active_vio()