|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <MySQLThreading.h>
Static Public Member Functions | |
| static void | Library_End () |
| static void | Library_Init () |
| static void | Thread_End () |
| static void | Thread_Init () |
Definition at line 11 of file MySQLThreading.h.
|
inlinestatic |
Definition at line 44 of file MySQLThreading.h.
Referenced by Master::_StopDB(), and StopDB().
|
inlinestatic |
Definition at line 39 of file MySQLThreading.h.
Referenced by Master::_StartDB(), and StartDB().
|
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.
|
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.