| 6026 | } |
| 6027 | |
| 6028 | void YAttachment::cancelOperation(CheckStatusWrapper* status, int option) |
| 6029 | { |
| 6030 | try |
| 6031 | { |
| 6032 | YEntry<YAttachment> entry(status, this); |
| 6033 | |
| 6034 | // Mutex will be locked here for a really long time. |
| 6035 | MutexLockGuard guard(enterMutex, FB_FUNCTION); |
| 6036 | |
| 6037 | if (enterCount > 1 || option != fb_cancel_raise) |
| 6038 | entry.next()->cancelOperation(status, option); |
| 6039 | else |
| 6040 | status_exception::raise(Arg::Gds(isc_nothing_to_cancel)); |
| 6041 | } |
| 6042 | catch (const Exception& e) |
| 6043 | { |
| 6044 | e.stuffException(status); |
| 6045 | } |
| 6046 | } |
| 6047 | |
| 6048 | void YAttachment::ping(CheckStatusWrapper* status) |
| 6049 | { |
no test coverage detected