KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache
System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : andertr9 ( 1047)
PHP Version : 8.2.18
Disable Function : NONE
Directory :  /usr/include/mysql/mysql/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/include/mysql/mysql/service_thd_engine_lock.h
/* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; version 2 of the License.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA */

#ifndef MYSQL_SERVICE_THD_EGINE_LOCK_INCLUDED
#define MYSQL_SERVICE_THD_EGINE_LOCK_INCLUDED

/**
  @file include/mysql/service_thd_engine_lock.h
  This service provides functions for storage engines to report
  lock related activities.

  SYNOPSIS
  thd_row_lock_wait() - call it just when the engine find a transaction should wait
                        another transaction to realease a row lock
  thd                   The session which is waiting  for the row lock to release.
  thd_wait_for          The session which is holding the row lock.
*/

#ifdef __cplusplus
class THD;
#else
#define THD void
#endif

#ifdef __cplusplus
extern "C" {
#endif

  void thd_report_row_lock_wait(THD* self, THD *wait_for);

#ifdef __cplusplus
}
#endif

#endif

Anon7 - 2021