| 327 | } |
| 328 | |
| 329 | Sync* getSync(bool useAsync = false, bool forceAsync = false) |
| 330 | { |
| 331 | if (useAsync && !forceAsync) |
| 332 | { |
| 333 | fb_assert(!mainSync.locked()); |
| 334 | } |
| 335 | return useAsync ? &async : &mainSync; |
| 336 | } |
| 337 | |
| 338 | Firebird::Mutex* getBlockingMutex() |
| 339 | { |
no test coverage detected