gateasyncio.cc

来自「EPICS CA gateway, base on channel access」· CC 代码 · 共 73 行

CC
73
字号
/*************************************************************************\* 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 + =
减小字号Ctrl + -
显示快捷键?