| 409 | |
| 410 | |
| 411 | bool LCK_cancel_wait(Jrd::Attachment* attachment) |
| 412 | { |
| 413 | /************************************** |
| 414 | * |
| 415 | * L C K _ c a n c e l _ w a i t |
| 416 | * |
| 417 | ************************************** |
| 418 | * |
| 419 | * Functional description |
| 420 | * Try to cancel waiting of attachment inside the LM. |
| 421 | * |
| 422 | **************************************/ |
| 423 | Database *dbb = attachment->att_database; |
| 424 | |
| 425 | const SLONG owner_offset = attachment->att_wait_owner_handle; |
| 426 | if (owner_offset) |
| 427 | return dbb->lockManager()->cancelWait(owner_offset); |
| 428 | |
| 429 | return false; |
| 430 | } |
| 431 | |
| 432 | |
| 433 | void LCK_downgrade(thread_db* tdbb, Lock* lock) |
no test coverage detected