Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Agnos
Utils
ReentrantLock
IsHeldByCurrentThread
Agnos.Utils.ReentrantLock.IsHeldByCurrentThread C# (CSharp) Method
ReentrantLock Class Documentation
显示文件
Open project: tomerfiliba/agnos
IsHeldByCurrentThread()
public
method
tests whether the lock is held by the current (calling) thread
public
IsHeldByCurrentThread
( ) :
bool
return
bool
public bool IsHeldByCurrentThread() { return owner == Thread.CurrentThread; }
ReentrantLock
Acquire
IsHeldByCurrentThread
ReentrantLock
Release