Does anyone know why Monitor.TryEnter is not included in NETMF?
It feels like this is an important method when handling with threadsafe applications…
Does anyone know why Monitor.TryEnter is not included in NETMF?
It feels like this is an important method when handling with threadsafe applications…
@ Honken - I doubt anyone other than Microsoft can give you a definitive answer. But generally the goal is to make .NETMF as small and functional as possible. Since small is a goal, things like TryEnter would be cut, on small devices like this I would personally expect only the most primitive concurrency control, critical section being the most important.
If you desperately need TryEnter then you can probably implement a simplified version with no time-out quite easily.