MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / GDS_init_prefix

Function GDS_init_prefix

src/yvalve/gds.cpp:4203–4221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4201static Firebird::InitMutex<InitPrefix> initPrefix("InitPrefix");
4202
4203void GDS_init_prefix()
4204{
4205/**************************************
4206 *
4207 * G D S _ i n i t _ p r e f i x
4208 *
4209 **************************************
4210 *
4211 * Functional description
4212 * Initialize all data in various fb_prefixes.
4213 * Calling it before any signal can be caught (from init())
4214 * makes gds__prefix* family of functions signal-safe.
4215 * In order not to break external API, call to GDS_init_prefix
4216 * must be present in all gds__prefix functions. Due to correct
4217 * init this doesn't make them unsafe.
4218 *
4219 **************************************/
4220 initPrefix.init();
4221}
4222
4223
4224// We try to see if the registry has the information for the Program Files

Callers 4

API_ROUTINE gds__prefixFunction · 0.85

Calls 1

initMethod · 0.45

Tested by

no test coverage detected