Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
MySQL Class Reference

#include <MySQLThreading.h>

Static Public Member Functions

static void Library_End ()
static void Library_Init ()
static void Thread_End ()
static void Thread_Init ()

Detailed Description

Definition at line 11 of file MySQLThreading.h.

Member Function Documentation

◆ Library_End()

void MySQL::Library_End ( )
inlinestatic

Definition at line 44 of file MySQLThreading.h.

Referenced by Master::_StopDB(), and StopDB().

◆ Library_Init()

void MySQL::Library_Init ( )
inlinestatic

Definition at line 39 of file MySQLThreading.h.

Referenced by Master::_StartDB(), and StartDB().

◆ Thread_End()

void MySQL::Thread_End ( )
inlinestatic

Shuts down MySQL thread and frees resources, should only be called when we terminate. MySQL threads and connections are not configurable during runtime.

Definition at line 32 of file MySQLThreading.h.

References Skyfire::Thread::currentId(), SF_LOG_WARN, and UI64FMTD.

◆ Thread_Init()

void MySQL::Thread_Init ( )
inlinestatic

Create a thread on the MySQL server to mirrior the calling thread, initializes thread-specific variables and allows thread-specific operations without concurrence from other threads. This should only be called if multiple core threads are running on the same MySQL connection. Seperate MySQL connections implicitly create a mirror thread.

Definition at line 21 of file MySQLThreading.h.

References Skyfire::Thread::currentId(), SF_LOG_WARN, and UI64FMTD.


The documentation for this class was generated from the following file: