Abstract class used to wrap mutex for various platforms.  
 More...
#include <my_xp_thread.h>
Abstract class used to wrap mutex for various platforms. 
A typical use case is:
 
Definition: my_xp_thread.h:139
 
Abstract class used to wrap mutex for various platforms.
Definition: my_xp_thread.h:61
 
virtual int create(PSI_thread_key key, const native_thread_attr_t *attr, native_start_routine func, void *arg)=0
Creates thread.
 
virtual int join(void **value_ptr)=0
Suspend invoking thread until this thread terminates.
 
struct result result
Definition: result.h:34
 
required string key
Definition: replication_asynchronous_connection_failover.proto:60
 
#define NULL
Definition: types.h:55
 
   
◆ ~My_xp_thread()
  
  
      
        
          | virtual My_xp_thread::~My_xp_thread  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtualdefault   | 
  
 
 
◆ cancel()
  
  
      
        
          | virtual int My_xp_thread::cancel  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ create()
Creates thread. 
- Parameters
 - 
  
    | key | thread instrumentation key  | 
    | attr | thread attributes  | 
    | func | routine function  | 
    | arg | function parameters  | 
  
   
- Returns
 - success status 
 
Implemented in My_xp_thread_server.
 
 
◆ create_detached()
Creates a detached thread. 
- Parameters
 - 
  
    | key | thread instrumentation key  | 
    | attr | thread attributes  | 
    | func | routine function  | 
    | arg | function parameters  | 
  
   
- Returns
 - success status 
 
Implemented in My_xp_thread_server.
 
 
◆ get_native_thread()
Retrieves native thread reference. 
- Returns
 - native thread pointer 
 
Implemented in My_xp_thread_server.
 
 
◆ join()
  
  
      
        
          | virtual int My_xp_thread::join  | 
          ( | 
          void **  | 
          value_ptr | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Suspend invoking thread until this thread terminates. 
- Parameters
 - 
  
    | value_ptr | pointer for a placeholder for the terminating thread status  | 
  
   
- Returns
 - success status 
 
Implemented in My_xp_thread_server.
 
 
The documentation for this class was generated from the following file:
- plugin/group_replication/libmysqlgcs/include/mysql/gcs/xplatform/my_xp_thread.h