System.Threading.Monitor ?

  • Thread starter Thread starter DM
  • Start date Start date
D

DM

Hello.

Does anyone have any success with monitors in compatct framework?
They seem to be nonexsistes in .NET compact but MSDN claims otherwise.
Do I need to do sth special to be able to use them? Or is it just
another case where information contained is MSDN is inaccurate?
 
The Monitor exists, it's just not too useful. We have a MonitorEx (and will
shortly release ThreadEx) from OpenNETCF.org. Right now our domain may or
may not be reachable from your location due to DNS propagation. It should
be available globally again by tomorrow.
 
The Monitor exists, it's just not too useful. We have a MonitorEx (and will

What do you mean by - they're not too useful? The implementation makes them
useless or monitors are useless as such (in latter case I would disagree :) ).
 
DM said:
What do you mean by - they're not too useful? The implementation makes them
useless or monitors are useless as such (in latter case I would disagree :) ).

The fact that Monitor in the Compact Framework only supports Enter and
Exit, not Wait, Pulse, PulseAll or TryEnter makes it *considerably*
less useful.
 
What do you mean by - they're not too useful? The implementation makes them
useless or monitors are useless as such (in latter case I would disagree :) ).

Sorry, now I know what you were talking about. Only enter and exit
methods are supported - the monitor is no more useful
than a mutex. Damn.
 
Exactly. We've got one with Wait and Pulse, which makes it far more useful.
I really hope the site come back up soon so you can actually get it. Argh.

-Chris




 
Back
Top