MySQL 9.1.0
Source Code Documentation
my_thread_bits.h File Reference

Types to make different thread packages compatible. More...

#include <pthread.h>
#include <sched.h>

Go to the source code of this file.

Classes

struct  my_thread_handle
 

Typedefs

typedef pthread_t my_thread_t
 
typedef pthread_attr_t my_thread_attr_t
 

Variables

static constexpr my_thread_t null_thread_initializer = my_thread_t{}
 

Detailed Description

Types to make different thread packages compatible.

Typedef Documentation

◆ my_thread_attr_t

typedef pthread_attr_t my_thread_attr_t

◆ my_thread_t

typedef pthread_t my_thread_t

Variable Documentation

◆ null_thread_initializer

constexpr my_thread_t null_thread_initializer = my_thread_t{}
staticconstexpr