MySQL 26.10.0
Source Code Documentation
sync_point.h File Reference
#include <memory>
#include <string>
#include "harness_export.h"

Go to the source code of this file.

Classes

class  mysql_harness::SyncPoint
 
class  mysql_harness::SyncPointRegistry
 

Namespaces

namespace  mysql_harness
 Singleton class that stores the application type.
 

Macros

#define HARNESS_SYNC_POINT   1
 
#define HARNESS_WAIT_FOR_SYNC_POINT(name)
 

Functions

HARNESS_EXPORT SyncPointRegistry * mysql_harness::get_sync_point_registry ()
 

Macro Definition Documentation

◆ HARNESS_SYNC_POINT

#define HARNESS_SYNC_POINT   1

◆ HARNESS_WAIT_FOR_SYNC_POINT

#define HARNESS_WAIT_FOR_SYNC_POINT (   name)
Value:
do { \
if (auto *registry = mysql_harness::get_sync_point_registry()) { \
registry->get(name)->wait(); \
} \
} while (false)
HARNESS_EXPORT SyncPointRegistry * get_sync_point_registry()
Definition: sync_point.cc:34
case opt name
Definition: sslopt-case.h:29