summaryrefslogtreecommitdiff
path: root/sql/threadpool_win.cc
Commit message (Collapse)AuthorAgeFilesLines
* merge with 5.5Sergei Golubchik2012-11-031-16/+0
|\
| * MDEV-531 : Warning: Forcing close of thread ... in rpl_binlog_indexVladislav Vaintroub2012-11-021-16/+0
| | | | | | | | | | | | Use post_kill_notification in for one_thread_per_connection scheduler, the same as already used in threadpool, to reliably wake a thread stuck in read() or in different poll() variations.
* | Compile 10.0 on WindowsVladislav Vaintroub2012-08-301-2/+2
|/
* MDEV-246 - Aborted_clients incremented during ordinary connection closeVladislav Vaintroub2012-05-031-0/+4
| | | | | | The problem was increment of aborted_threads variable due to thd->killed which was set when threadpool connection was terminated . The fix is not to set thd->killed anymore, there is no real reason for doing it.. Added a test that checks that status variable aborted_clients does not grow for ordinary disconnects, and that successful KILL increments this variable.
* mdev-208 thread pool breaks the server on XPSergei Golubchik2012-04-051-0/+3
|
* Windows threadpool - always disassociate current thread from callback when ↵Vladislav Vaintroub2012-03-281-5/+5
| | | | | | | destroying connection prior to closing callbacks and calling DestroyThreadpoolEnvironment, to make sure callbacks do not wait for themselves to finish.
* Store callback instance in the connection structure, to call ↵Vladislav Vaintroub2012-02-171-4/+36
| | | | | | | | CallbackMayRunLong on long waits (currently binlog only) Also add copyright notice.
* Threadpool : Rest of monty's reviewVladislav Vaintroub2012-01-271-5/+6
|
* close callbacks prior to closing connection to avoid potential race when e.g ↵Vladislav Vaintroub2012-01-271-5/+5
| | | | timer callback and connection_destroy run in parallel
* Further review points and simplify Windows implementationVladislav Vaintroub2012-01-261-81/+44
|
* small cleanupsVladislav Vaintroub2012-01-241-6/+1
|
* Get rid of idle thread counter atomic variable.Vladislav Vaintroub2012-01-151-0/+10
| | | | | Instead, use function that loops over groups and calculates idle threads for "show status".
* Small adjustements to threadpoolVladislav Vaintroub2011-12-181-1/+0
|
* Initial threadpool implementation for MariaDB 5.5Vladislav Vaintroub2011-12-081-0/+756