Skip to content
  • Jon Olav Hauglid's avatar
    384e07f2
    WL#8190: Refactor low-level thread handling · 384e07f2
    Jon Olav Hauglid authored
    This patch refactors the low-level code for handling OS threads.
    It unifies the API for creating and joining threads so that there
    no longer are separate functions for Windows and non-Windows
    platforms.
    
    This also makes sure that thread creation on Windows is always
    tracked properly by performance schema.
    
    The patch replaces macros with static inline functions or typedefs
    where appropriate and does general refactoring of thread handling
    and mysys initialization code.
    384e07f2
    WL#8190: Refactor low-level thread handling
    Jon Olav Hauglid authored
    This patch refactors the low-level code for handling OS threads.
    It unifies the API for creating and joining threads so that there
    no longer are separate functions for Windows and non-Windows
    platforms.
    
    This also makes sure that thread creation on Windows is always
    tracked properly by performance schema.
    
    The patch replaces macros with static inline functions or typedefs
    where appropriate and does general refactoring of thread handling
    and mysys initialization code.
Loading