Hello,
I've used Monitor2 of SDF version 2.3 comm. editiion.
Maybe I did something wrong but the lockCout attribute of Monitor2 is 3 and
isLocked is true, (but I think it'd be false) after the following
code:
if (!monMain.TryEnter())
{
tb.Text = "Monitor is locked";
}
else
{
monMain.Enter();
bool isLocked= monMain.TryEnter();
}
Dev. env: c#, VS 2005, Windows Mobile 6.1 prof.
Pls drop a note here if you can help me.
Thx,
/J.