Bug #41218 thread-handling=pool-of-threads does not work on Windows
Submitted: 4 Dec 2008 9:15 Modified: 29 Jan 2009 5:32
Reporter: Vladislav Vaintroub Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: General Severity:S3 (Non-critical)
Version:6.0 OS:Windows
Assigned to: Vladislav Vaintroub CPU Architecture:Any

[4 Dec 2008 9:15] Vladislav Vaintroub
Description:
Server parameter --thread-handling=pool-of-threads is not supported on Windows
It is supported everywhere else.

How to repeat:
try --thread-handling=pool-of-threads on Windows
[4 Dec 2008 9:22] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/60577

2681 Vladislav Vaintroub	2008-12-04
      Bug#41218 -  Windows port for thread pooling
      
      * add porting stuff (Win32-Code subdirectory )from libevent distribution
      * add libevent library to CMake build
      * adopt code in scheduler
       Replace pipes that were used as communication mechanism with libevent with
      sockets.  libevent cannot work with pipes on Windows - this is a limitation 
      of Winsock's select().
[16 Dec 2008 20:55] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/61823

2681 Vladislav Vaintroub	2008-12-16
      Bug#41218 -  Windows port for thread pooling
            
      * add Win32-Code subdirectory from libevent distribution
      * add libevent library to CMake build
      * adopt code in scheduler
        Replace pipes that were used as communication mechanism with libevent with
        socket pairs.  libevent cannot work with pipes on Windows - this is a 
        limitation  of Winsock's select().
[17 Dec 2008 13:01] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/61854

2813 Vladislav Vaintroub	2008-12-17
       merge fix for Bug#41218
[17 Dec 2008 18:16] Vladislav Vaintroub
pushed into 6.0-bugteam
[20 Jan 2009 18:55] Bugs System
Pushed into 6.0.10-alpha (revid:joro@sun.com-20090119171328-2hemf2ndc1dxl0et) (version source revid:azundris@mysql.com-20081230114916-c290n83z25wkt6e4) (merge vers: 6.0.9-alpha) (pib:6)
[29 Jan 2009 5:32] Paul DuBois
Noted in 6.0.10 changelog.

On Windows, the server could not be started with the
--thread-handling=pool-of-threads option.