prg_mt_mutex_info_get()

Abstract

Obtains information about a mutex object.

Syntax

prg_mt_mutex_info_get (mutex_ptr, options_ptr, rank_ptr, locked_ptr, lock_id_ptr, description_ptr)
Argument Type Description
mutex_ptr PrgT_Mutex * Mutex object of interest.
options_ptr int * Options value specified at creation time.
rank_ptr int * Rank value specified at creation time.
locked_ptr int * PRGC_TRUE if locked, PRGC_FALSE otherwise.
lock_id_ptr int * If locked, id of the process that locked the mutex last.
description_ptr const char * Description string specified at creation time.

Return Type

PrgT_Compcode

PrgC_Compcode_Success if valid mutex, PrgC_Compcode_Failure otherwise

prg_mt.h

Details

Allows one to obtain a set of information about a mutex object.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com