fis-gtm/sr_unix/gtmsource_srv_latch.h

22 lines
720 B
C
Raw Normal View History

/****************************************************************
* *
* Copyright 2012 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the license, please stop and do not read further. *
* *
****************************************************************/
#ifndef _GTMSOURCE_SRV_LATCH
#define _GTMSOURCE_SRV_LATCH
boolean_t grab_gtmsource_srv_latch(sm_global_latch_ptr_t latch, uint4 max_timeout_in_secs);
boolean_t rel_gtmsource_srv_latch(sm_global_latch_ptr_t latch);
boolean_t gtmsource_srv_latch_held_by_us(void);
#endif