Tech Support > Operating Systems > Windows CE > Mutex Class Problems, Windows CE4.2
Mutex Class Problems, Windows CE4.2
Posted by aibarguen on April 11th, 2008


Hello,

I´m developing an aplication for a Windows CE 4.2 DEVICE with Compact
Framework 2.0.

The application work correctly, but i can´t use correctly the WaitOne
function from Mutex Class.

If I use the function without parameters, all was OK. But if I use the
method with the sleep and exit Context parameters, I have this
Exception:

ArgumentException Parameter name: ExitContext at
System.Threading.Mutex.WaitOne()

Any Idea?

Thanks for everithing.

Posted by r_z_aret@pen_fact.com on April 11th, 2008


On Fri, 11 Apr 2008 03:59:03 -0700 (PDT), aibarguen
<ibarguu@hotmail.com> wrote:

I don't have an actual answer. But I just used google advanced
newsgroup (http://groups.google.com/advanced_search?q=&) to look up
cf .net waitone
and got 65 hits. I took a quick look and think at least some are close
to relevant and useful. If nothing else, you may find a more
appropriate newsgroup.

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 400
Boston, MA 02116
www.penfact.com
Useful reading (be sure to read its disclaimer first):
http://catb.org/~esr/faqs/smart-questions.html