📄 gateasyncio.cc
字号:
/*************************************************************************\* Copyright (c) 2002 The University of Chicago, as Operator of Argonne* National Laboratory.* Copyright (c) 2002 Berliner Speicherring-Gesellschaft fuer Synchrotron-* Strahlung mbH (BESSY).* Copyright (c) 2002 The Regents of the University of California, as* Operator of Los Alamos National Laboratory.* This file is distributed subject to a Software License Agreement found* in the file LICENSE that is included with this distribution. \*************************************************************************//*+********************************************************************* * * File: gateAsyncIO.cc * Project: CA Proxy Gateway * * Descr.: Asynchronous Read / Write / pvExistTest * * Author(s): J. Kowalkowski, J. Anderson, K. Evans (APS) * R. Lange (BESSY) * *********************************************************************-*/#include "gateResources.h"#include "gateServer.h"#include "gateVc.h"// ------------------------------- async exist test methodsgateAsyncE::~gateAsyncE(void){ gateDebug0(10,"~gateAsyncE()\n"); // If it is in the eio queue, take it out removeFromQueue();}// ------------------------------- async read pending methodsgateAsyncR::~gateAsyncR(void){ gateDebug1(10,"~gateAsyncR() (dd at %p)\n",(void *)&dd); // If it is in the rio queue, take it out removeFromQueue(); // Unreference the dd dd.unreference();}// ------------------------------- async write pending methodsgateAsyncW::~gateAsyncW(void){ gateDebug1(10,"~gateAsyncW() (dd at %p)\n",(void *)&dd); // If it is in the wio queue, take it out removeFromQueue(); // Unreference the dd dd.unreference();}gatePendingWrite::~gatePendingWrite(void){ gateDebug0(10,"~gatePendingWrite()\n"); dd.unreference(); owner.cancelPendingWrite();}/* **************************** Emacs Editing Sequences ***************** *//* Local Variables: *//* tab-width: 4 *//* c-basic-offset: 4 *//* c-comment-only-line-offset: 0 *//* c-file-offsets: ((substatement-open . 0) (label . 0)) *//* End: */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -