| 4201 | static Firebird::InitMutex<InitPrefix> initPrefix("InitPrefix"); |
| 4202 | |
| 4203 | void 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 |
no test coverage detected