B
bg_ie
Hi,
I have the following in my com object-
static public uint Time
{
get
{
lock (Channel.staticLockObject)
{
return Channel.time;
}
}
}
Sometimes though I am getting back incorrect values when using Time.
How can I check if Channel.staticLockObject is already locked so that I
can print a debug message?
Thanks for your help,
Barry.
I have the following in my com object-
static public uint Time
{
get
{
lock (Channel.staticLockObject)
{
return Channel.time;
}
}
}
Sometimes though I am getting back incorrect values when using Time.
How can I check if Channel.staticLockObject is already locked so that I
can print a debug message?
Thanks for your help,
Barry.